diff --git a/core/modules/views/lib/Drupal/views/Plugin/views/area/Entity.php b/core/modules/views/lib/Drupal/views/Plugin/views/area/Entity.php index 2684476..4bf13c7 100644 --- a/core/modules/views/lib/Drupal/views/Plugin/views/area/Entity.php +++ b/core/modules/views/lib/Drupal/views/Plugin/views/area/Entity.php @@ -46,7 +46,7 @@ protected function defineOptions() { $options['tokenize']['default'] = TRUE; $options['entity_id'] = array('default' => ''); - $options['view_mode'] = array('default' => ''); + $options['view_mode'] = array('default' => 'default'); return $options; } @@ -79,7 +79,7 @@ public function buildOptionsForm(&$form, &$form_state) { * All view modes of the entity type. */ protected function buildViewModeOptions() { - $options = array(); + $options = array('default' => t('Default')); $view_modes = entity_get_view_modes($this->entityType); foreach ($view_modes as $mode => $settings) { $options[$mode] = $settings['label'];