summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAlex Pott2013-05-29 13:22:52 (GMT)
committerAlex Pott2013-05-29 13:22:52 (GMT)
commitc1d7f6f033f16fee1d5c1700c3347325cc571b42 (patch)
treec83978b53a8bfb6fb7273c82fbc2d2811e531899
parent5501be94ab521d2b046796f7fe9d42b25c9cdeca (diff)
Issue #2002450 by jazzdrive3: Rename Views method default_display_options() to defaultDisplayOptions().
-rw-r--r--core/modules/comment/lib/Drupal/comment/Plugin/views/wizard/Comment.php6
-rw-r--r--core/modules/file/lib/Drupal/file/Plugin/views/wizard/File.php6
-rw-r--r--core/modules/node/lib/Drupal/node/Plugin/views/wizard/Node.php6
-rw-r--r--core/modules/node/lib/Drupal/node/Plugin/views/wizard/NodeRevision.php6
-rw-r--r--core/modules/taxonomy/lib/Drupal/taxonomy/Plugin/views/wizard/TaxonomyTerm.php6
-rw-r--r--core/modules/user/lib/Drupal/user/Plugin/views/wizard/Users.php6
-rw-r--r--core/modules/views/lib/Drupal/views/Plugin/views/wizard/WizardPluginBase.php4
7 files changed, 20 insertions, 20 deletions
diff --git a/core/modules/comment/lib/Drupal/comment/Plugin/views/wizard/Comment.php b/core/modules/comment/lib/Drupal/comment/Plugin/views/wizard/Comment.php
index 4670674..dccbe75 100644
--- a/core/modules/comment/lib/Drupal/comment/Plugin/views/wizard/Comment.php
+++ b/core/modules/comment/lib/Drupal/comment/Plugin/views/wizard/Comment.php
@@ -134,10 +134,10 @@ class Comment extends WizardPluginBase {
}
/**
- * Overrides Drupal\views\Plugin\views\wizard\WizardPluginBase::default_display_options().
+ * Overrides Drupal\views\Plugin\views\wizard\WizardPluginBase::defaultDisplayOptions().
*/
- protected function default_display_options() {
- $display_options = parent::default_display_options();
+ protected function defaultDisplayOptions() {
+ $display_options = parent::defaultDisplayOptions();
// Add permission-based access control.
$display_options['access']['type'] = 'perm';
diff --git a/core/modules/file/lib/Drupal/file/Plugin/views/wizard/File.php b/core/modules/file/lib/Drupal/file/Plugin/views/wizard/File.php
index 54f33e3..3b19b56 100644
--- a/core/modules/file/lib/Drupal/file/Plugin/views/wizard/File.php
+++ b/core/modules/file/lib/Drupal/file/Plugin/views/wizard/File.php
@@ -40,10 +40,10 @@ class File extends WizardPluginBase {
);
/**
- * Overrides Drupal\views\Plugin\views\wizard\WizardPluginBase::default_display_options().
+ * Overrides Drupal\views\Plugin\views\wizard\WizardPluginBase::defaultDisplayOptions().
*/
- protected function default_display_options() {
- $display_options = parent::default_display_options();
+ protected function defaultDisplayOptions() {
+ $display_options = parent::defaultDisplayOptions();
// Add permission-based access control.
$display_options['access']['type'] = 'perm';
diff --git a/core/modules/node/lib/Drupal/node/Plugin/views/wizard/Node.php b/core/modules/node/lib/Drupal/node/Plugin/views/wizard/Node.php
index d510d0e..4bc5c38 100644
--- a/core/modules/node/lib/Drupal/node/Plugin/views/wizard/Node.php
+++ b/core/modules/node/lib/Drupal/node/Plugin/views/wizard/Node.php
@@ -131,10 +131,10 @@ class Node extends WizardPluginBase {
}
/**
- * Overrides Drupal\views\Plugin\views\wizard\WizardPluginBase::default_display_options().
+ * Overrides Drupal\views\Plugin\views\wizard\WizardPluginBase::defaultDisplayOptions().
*/
- protected function default_display_options() {
- $display_options = parent::default_display_options();
+ protected function defaultDisplayOptions() {
+ $display_options = parent::defaultDisplayOptions();
// Add permission-based access control.
$display_options['access']['type'] = 'perm';
diff --git a/core/modules/node/lib/Drupal/node/Plugin/views/wizard/NodeRevision.php b/core/modules/node/lib/Drupal/node/Plugin/views/wizard/NodeRevision.php
index b7bab48..179a0ec 100644
--- a/core/modules/node/lib/Drupal/node/Plugin/views/wizard/NodeRevision.php
+++ b/core/modules/node/lib/Drupal/node/Plugin/views/wizard/NodeRevision.php
@@ -83,10 +83,10 @@ class NodeRevision extends WizardPluginBase {
}
/**
- * Overrides Drupal\views\Plugin\views\wizard\WizardPluginBase::default_display_options().
+ * Overrides Drupal\views\Plugin\views\wizard\WizardPluginBase::defaultDisplayOptions().
*/
- protected function default_display_options() {
- $display_options = parent::default_display_options();
+ protected function defaultDisplayOptions() {
+ $display_options = parent::defaultDisplayOptions();
// Add permission-based access control.
$display_options['access']['type'] = 'perm';
diff --git a/core/modules/taxonomy/lib/Drupal/taxonomy/Plugin/views/wizard/TaxonomyTerm.php b/core/modules/taxonomy/lib/Drupal/taxonomy/Plugin/views/wizard/TaxonomyTerm.php
index 615d222..e33c11d 100644
--- a/core/modules/taxonomy/lib/Drupal/taxonomy/Plugin/views/wizard/TaxonomyTerm.php
+++ b/core/modules/taxonomy/lib/Drupal/taxonomy/Plugin/views/wizard/TaxonomyTerm.php
@@ -38,10 +38,10 @@ class TaxonomyTerm extends WizardPluginBase {
);
/**
- * Overrides Drupal\views\Plugin\views\wizard\WizardPluginBase::default_display_options().
+ * Overrides Drupal\views\Plugin\views\wizard\WizardPluginBase::defaultDisplayOptions().
*/
- protected function default_display_options() {
- $display_options = parent::default_display_options();
+ protected function defaultDisplayOptions() {
+ $display_options = parent::defaultDisplayOptions();
// Add permission-based access control.
$display_options['access']['type'] = 'perm';
diff --git a/core/modules/user/lib/Drupal/user/Plugin/views/wizard/Users.php b/core/modules/user/lib/Drupal/user/Plugin/views/wizard/Users.php
index 24a787e..10fc837 100644
--- a/core/modules/user/lib/Drupal/user/Plugin/views/wizard/Users.php
+++ b/core/modules/user/lib/Drupal/user/Plugin/views/wizard/Users.php
@@ -59,10 +59,10 @@ class Users extends WizardPluginBase {
);
/**
- * Overrides Drupal\views\Plugin\views\wizard\WizardPluginBase::default_display_options().
+ * Overrides Drupal\views\Plugin\views\wizard\WizardPluginBase::defaultDisplayOptions().
*/
- protected function default_display_options() {
- $display_options = parent::default_display_options();
+ protected function defaultDisplayOptions() {
+ $display_options = parent::defaultDisplayOptions();
// Add permission-based access control.
$display_options['access']['type'] = 'perm';
diff --git a/core/modules/views/lib/Drupal/views/Plugin/views/wizard/WizardPluginBase.php b/core/modules/views/lib/Drupal/views/Plugin/views/wizard/WizardPluginBase.php
index d085986..fb1948a 100644
--- a/core/modules/views/lib/Drupal/views/Plugin/views/wizard/WizardPluginBase.php
+++ b/core/modules/views/lib/Drupal/views/Plugin/views/wizard/WizardPluginBase.php
@@ -651,7 +651,7 @@ abstract class WizardPluginBase extends PluginBase implements WizardInterface {
*/
protected function build_display_options($form, $form_state) {
// Display: Master
- $display_options['default'] = $this->default_display_options();
+ $display_options['default'] = $this->defaultDisplayOptions();
$display_options['default'] += array(
'filters' => array(),
'sorts' => array(),
@@ -743,7 +743,7 @@ abstract class WizardPluginBase extends PluginBase implements WizardInterface {
* @return array
* Returns an array of display options.
*/
- protected function default_display_options() {
+ protected function defaultDisplayOptions() {
$display_options = array();
$display_options['access']['type'] = 'none';
$display_options['cache']['type'] = 'none';