diff --git a/core/modules/views/lib/Drupal/views/Plugin/views/display/DisplayPluginBase.php b/core/modules/views/lib/Drupal/views/Plugin/views/display/DisplayPluginBase.php index 16d3cd2..532212b 100644 --- a/core/modules/views/lib/Drupal/views/Plugin/views/display/DisplayPluginBase.php +++ b/core/modules/views/lib/Drupal/views/Plugin/views/display/DisplayPluginBase.php @@ -1142,7 +1142,7 @@ public function optionsSummary(&$categories, &$options) { $options['hide_admin_links'] = array( 'category' => 'other', 'title' => t('Display contextual links'), - 'value' => $this->getOption('hide_admin_links') ? t('Hidden') : t('Shown'), + 'value' => $this->getOption('hide_admin_links') ? t('No') : t('Yes'), 'desc' => t('Change whether or not to display contextual links for this view.'), ); } @@ -1413,10 +1413,10 @@ public function buildOptionsForm(&$form, &$form_state) { ); break; case 'hide_admin_links': - $form['#title'] .= t('Hide contextual links on this view.'); + $form['#title'] .= t('Show contextual links on this view.'); $form['hide_admin_links'] = array( '#type' => 'radios', - '#options' => array(1 => t('Yes'), 0 => t('No')), + '#options' => array(0 => t('Yes'), 1 => t('No')), '#default_value' => $this->getOption('hide_admin_links') ? 1 : 0, ); break;