diff --git a/core/modules/entity_reference/lib/Drupal/entity_reference/Plugin/views/style/EntityReference.php b/core/modules/entity_reference/lib/Drupal/entity_reference/Plugin/views/style/EntityReference.php index 4a2fc08..2f0ac26 100644 --- a/core/modules/entity_reference/lib/Drupal/entity_reference/Plugin/views/style/EntityReference.php +++ b/core/modules/entity_reference/lib/Drupal/entity_reference/Plugin/views/style/EntityReference.php @@ -104,7 +104,7 @@ public function render() { /** * Overrides \Drupal\views\Plugin\views\style\StylePluginBase\StylePluginBase::evenEmpty(). */ - function evenEmpty() { + public function evenEmpty() { return TRUE; } } diff --git a/core/modules/views/lib/Drupal/views/Plugin/views/style/StylePluginBase.php b/core/modules/views/lib/Drupal/views/Plugin/views/style/StylePluginBase.php index 3be0465..c5fbc87 100644 --- a/core/modules/views/lib/Drupal/views/Plugin/views/style/StylePluginBase.php +++ b/core/modules/views/lib/Drupal/views/Plugin/views/style/StylePluginBase.php @@ -212,7 +212,7 @@ function tokenize_value($value, $row_index) { /** * Should the output of the style plugin be rendered even if it's a empty view. */ - function evenEmpty() { + public function evenEmpty() { return !empty($this->definition['even empty']); } diff --git a/core/modules/views/lib/Drupal/views/Plugin/views/style/Table.php b/core/modules/views/lib/Drupal/views/Plugin/views/style/Table.php index 588b70c..f2364fc 100644 --- a/core/modules/views/lib/Drupal/views/Plugin/views/style/Table.php +++ b/core/modules/views/lib/Drupal/views/Plugin/views/style/Table.php @@ -387,7 +387,7 @@ public function buildOptionsForm(&$form, &$form_state) { ); } - function evenEmpty() { + public function evenEmpty() { return parent::evenEmpty() || !empty($this->options['empty_table']); }