summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorwebchick2013-10-09 05:28:35 (GMT)
committerwebchick2013-10-09 05:28:35 (GMT)
commit1fc4c9c80226bcf9ec7dd894c098c3ce3efe572f (patch)
tree3fac91ea8a44bd1f35fbd4aed48acc950ef6ebda
parent129902be79d20998a5dbec11259f7ad197c19d77 (diff)
Issue #1837998 by Bojhan, xjm, dawehner, David Hernández: Show the embed display in the UI.
-rw-r--r--core/modules/views_ui/lib/Drupal/views_ui/Form/BasicSettingsForm.php8
1 files changed, 3 insertions, 5 deletions
diff --git a/core/modules/views_ui/lib/Drupal/views_ui/Form/BasicSettingsForm.php b/core/modules/views_ui/lib/Drupal/views_ui/Form/BasicSettingsForm.php
index d1206d5..fb6d238 100644
--- a/core/modules/views_ui/lib/Drupal/views_ui/Form/BasicSettingsForm.php
+++ b/core/modules/views_ui/lib/Drupal/views_ui/Form/BasicSettingsForm.php
@@ -41,22 +41,20 @@ class BasicSettingsForm extends ConfigFormBase {
$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'),
);