Commit 1fc4c9c8 authored by webchick's avatar webchick

Issue #1837998 by Bojhan, xjm, dawehner, David Hernández: Show the embed display in the UI.

parent 129902be
......@@ -41,22 +41,20 @@ public function buildForm(array $form, array &$form_state) {
$form['basic']['ui_show_master_display'] = array(
'#type' => 'checkbox',
'#title' => $this->t('Always show the master display'),
'#description' => $this->t('Advanced users of views may choose to see the master (i.e. default) display.'),
'#title' => $this->t('Always show the master (default) display'),
'#default_value' => $config->get('ui.show.master_display'),
);
$form['basic']['ui_show_advanced_column'] = array(
'#type' => 'checkbox',
'#title' => $this->t('Always show advanced display settings'),
'#description' => $this->t('Default to showing advanced display settings, such as relationships and contextual filters.'),
'#default_value' => $config->get('ui.show.advanced_column'),
);
$form['basic']['ui_show_display_embed'] = array(
'#type' => 'checkbox',
'#title' => $this->t('Show the embed display in the ui.'),
'#description' => $this->t("Allow advanced user to use the embed view display. The plugin itself works if it's not visible in the ui"),
'#title' => t('Allow embedded displays'),
'#description' => t('Embedded displays can be used in code via views_embed_view().'),
'#default_value' => $config->get('ui.show.display_embed'),
);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment