diff --git a/core/modules/views/lib/Drupal/views/Annotation/ViewsAccess.php b/core/modules/views/lib/Drupal/views/Annotation/ViewsAccess.php index 756752e..df808cb 100644 --- a/core/modules/views/lib/Drupal/views/Annotation/ViewsAccess.php +++ b/core/modules/views/lib/Drupal/views/Annotation/ViewsAccess.php @@ -75,8 +75,8 @@ class ViewsAccess extends ViewsPluginAnnotationBase { public function get() { return parent::get() + array( 'id' => $this->id, - 'title' => $this->title->get(), - 'help' => $this->help->get(), + 'title' => isset($this->title) ? $this->title->get() : '', + 'help' => isset($this->help) ? $this->help->get() : '', 'display_types' => $this->display_types, 'base' => $this->base, 'no_ui' => $this->no_ui, diff --git a/core/modules/views/lib/Drupal/views/Annotation/ViewsArgumentDefault.php b/core/modules/views/lib/Drupal/views/Annotation/ViewsArgumentDefault.php index 0acf431..01dd915 100644 --- a/core/modules/views/lib/Drupal/views/Annotation/ViewsArgumentDefault.php +++ b/core/modules/views/lib/Drupal/views/Annotation/ViewsArgumentDefault.php @@ -49,7 +49,7 @@ class ViewsArgumentDefault extends ViewsPluginAnnotationBase { public function get() { return parent::get() + array( 'id' => $this->id, - 'title' => $this->title->get(), + 'title' => isset($this->title) ? $this->title->get() : '', 'no_ui' => $this->no_ui, ); } diff --git a/core/modules/views/lib/Drupal/views/Annotation/ViewsArgumentValidator.php b/core/modules/views/lib/Drupal/views/Annotation/ViewsArgumentValidator.php index a4f6031..23d13d7 100644 --- a/core/modules/views/lib/Drupal/views/Annotation/ViewsArgumentValidator.php +++ b/core/modules/views/lib/Drupal/views/Annotation/ViewsArgumentValidator.php @@ -49,7 +49,7 @@ class ViewsArgumentValidator extends ViewsPluginAnnotationBase { public function get() { return parent::get() + array( 'id' => $this->id, - 'title' => $this->title->get(), + 'title' => isset($this->title) ? $this->title->get() : '', 'no_ui' => $this->no_ui, ); } diff --git a/core/modules/views/lib/Drupal/views/Annotation/ViewsCache.php b/core/modules/views/lib/Drupal/views/Annotation/ViewsCache.php index 0127f42..15c41d1 100644 --- a/core/modules/views/lib/Drupal/views/Annotation/ViewsCache.php +++ b/core/modules/views/lib/Drupal/views/Annotation/ViewsCache.php @@ -75,8 +75,8 @@ class ViewsCache extends ViewsPluginAnnotationBase { public function get() { return parent::get() + array( 'id' => $this->id, - 'title' => $this->title->get(), - 'help' => $this->help->get(), + 'title' => isset($this->title) ? $this->title->get() : '', + 'help' => isset($this->help) ? $this->help->get() : '', 'display_types' => $this->display_types, 'base' => $this->base, 'no_ui' => $this->no_ui, diff --git a/core/modules/views/lib/Drupal/views/Annotation/ViewsDisplay.php b/core/modules/views/lib/Drupal/views/Annotation/ViewsDisplay.php index 394f9d3..aa55ef5 100644 --- a/core/modules/views/lib/Drupal/views/Annotation/ViewsDisplay.php +++ b/core/modules/views/lib/Drupal/views/Annotation/ViewsDisplay.php @@ -116,9 +116,9 @@ class ViewsDisplay extends ViewsPluginAnnotationBase { public function get() { return parent::get() + array( 'id' => $this->id, - 'title' => $this->title->get(), + 'title' => isset($this->title) ? $this->title->get() : '', 'admin' => isset($this->admin) ? $this->admin->get() : '', - 'help' => $this->help->get(), + 'help' => isset($this->help) ? $this->help->get() : '', 'uses_hook_menu' => $this->uses_hook_menu, 'uses_hook_block' => $this->uses_hook_block, 'uses_route' => $this->uses_route, diff --git a/core/modules/views/lib/Drupal/views/Annotation/ViewsDisplayExtender.php b/core/modules/views/lib/Drupal/views/Annotation/ViewsDisplayExtender.php index cb61691..c644312 100644 --- a/core/modules/views/lib/Drupal/views/Annotation/ViewsDisplayExtender.php +++ b/core/modules/views/lib/Drupal/views/Annotation/ViewsDisplayExtender.php @@ -56,8 +56,8 @@ class ViewsDisplayExtender extends ViewsPluginAnnotationBase { public function get() { return parent::get() + array( 'id' => $this->id, - 'title' => $this->title->get(), - 'help' => $this->help->get(), + 'title' => isset($this->title) ? $this->title->get() : '', + 'help' => isset($this->help) ? $this->help->get() : '', 'no_ui' => $this->no_ui, ); } diff --git a/core/modules/views/lib/Drupal/views/Annotation/ViewsExposedForm.php b/core/modules/views/lib/Drupal/views/Annotation/ViewsExposedForm.php index c66318e..56b73b6 100644 --- a/core/modules/views/lib/Drupal/views/Annotation/ViewsExposedForm.php +++ b/core/modules/views/lib/Drupal/views/Annotation/ViewsExposedForm.php @@ -76,8 +76,8 @@ class ViewsExposedForm extends ViewsPluginAnnotationBase { public function get() { return parent::get() + array( 'id' => $this->id, - 'title' => $this->title->get(), - 'help' => $this->help->get(), + 'title' => isset($this->title) ? $this->title->get() : '', + 'help' => isset($this->help) ? $this->help->get() : '', 'display_types' => $this->display_types, 'base' => $this->base, 'no_ui' => $this->no_ui, diff --git a/core/modules/views/lib/Drupal/views/Annotation/ViewsPager.php b/core/modules/views/lib/Drupal/views/Annotation/ViewsPager.php index 9ccc8de..020a457 100644 --- a/core/modules/views/lib/Drupal/views/Annotation/ViewsPager.php +++ b/core/modules/views/lib/Drupal/views/Annotation/ViewsPager.php @@ -89,9 +89,9 @@ class ViewsPager extends ViewsPluginAnnotationBase { public function get() { return parent::get() + array( 'id' => $this->id, - 'title' => $this->title->get(), - 'short_title' => $this->short_title->get(), - 'help' => $this->help->get(), + 'title' => isset($this->title) ? $this->title->get() : '', + 'short_title' => isset($this->short_title) ? $this->short_title->get() : '', + 'help' => isset($this->help) ? $this->help->get() : '', 'theme' => $this->theme, 'display_types' => $this->display_types, 'base' => $this->base, diff --git a/core/modules/views/lib/Drupal/views/Annotation/ViewsQuery.php b/core/modules/views/lib/Drupal/views/Annotation/ViewsQuery.php index 50dfbe1..5036659 100644 --- a/core/modules/views/lib/Drupal/views/Annotation/ViewsQuery.php +++ b/core/modules/views/lib/Drupal/views/Annotation/ViewsQuery.php @@ -59,7 +59,7 @@ class ViewsQuery extends ViewsPluginAnnotationBase { public function get() { return parent::get() + array( 'id' => $this->id, - 'title' => $this->title->get(), + 'title' => isset($this->title) ? $this->title->get() : '', 'help' => $this->help->get(), 'no_ui' => $this->no_ui, ); diff --git a/core/modules/views/lib/Drupal/views/Annotation/ViewsRow.php b/core/modules/views/lib/Drupal/views/Annotation/ViewsRow.php index e3b3141..7c0baa4 100644 --- a/core/modules/views/lib/Drupal/views/Annotation/ViewsRow.php +++ b/core/modules/views/lib/Drupal/views/Annotation/ViewsRow.php @@ -78,8 +78,8 @@ class ViewsRow extends ViewsPluginAnnotationBase { public function get() { return parent::get() + array( 'id' => $this->id, - 'title' => $this->title->get(), - 'help' => $this->help->get(), + 'title' => isset($this->title) ? $this->title->get() : '', + 'help' => isset($this->help) ? $this->help->get() : '', 'theme' => $this->theme, 'display_types' => $this->display_types, 'base' => $this->base, diff --git a/core/modules/views/lib/Drupal/views/Annotation/ViewsStyle.php b/core/modules/views/lib/Drupal/views/Annotation/ViewsStyle.php index 4513fc8..32f2c59 100644 --- a/core/modules/views/lib/Drupal/views/Annotation/ViewsStyle.php +++ b/core/modules/views/lib/Drupal/views/Annotation/ViewsStyle.php @@ -80,8 +80,8 @@ class ViewsStyle extends ViewsPluginAnnotationBase { public function get() { return parent::get() + array( 'id' => $this->id, - 'title' => $this->title->get(), - 'help' => $this->help->get(), + 'title' => isset($this->title) ? $this->title->get() : '', + 'help' => isset($this->help) ? $this->help->get() : '', 'theme' => $this->theme, 'display_types' => $this->display_types, 'base' => $this->base, diff --git a/core/modules/views/lib/Drupal/views/Annotation/ViewsWizard.php b/core/modules/views/lib/Drupal/views/Annotation/ViewsWizard.php index df7b252..147a907 100644 --- a/core/modules/views/lib/Drupal/views/Annotation/ViewsWizard.php +++ b/core/modules/views/lib/Drupal/views/Annotation/ViewsWizard.php @@ -47,7 +47,7 @@ class ViewsWizard extends ViewsPluginAnnotationBase { public function get() { return parent::get() + array( 'id' => $this->id, - 'title' => $this->title->get(), + 'title' => isset($this->title) ? $this->title->get() : '', 'base_table' => $this->base_table, ); }