1 views_ui.install views_ui_update_1001()

Add new default display(s) setting.

Related topics

File

core/modules/views_ui/views_ui.install, line 42

Code

function views_ui_update_1001() {
  $config = config('views_ui.settings');
  $config->set('wizard_default_display.page', 'page');
  $config->set('wizard_default_display.block', 0);
  $config->save();
}