diff --git a/lib/Drupal/views/Plugin/views/Handler.php b/lib/Drupal/views/Plugin/views/HandlerBase.php similarity index 99% rename from lib/Drupal/views/Plugin/views/Handler.php rename to lib/Drupal/views/Plugin/views/HandlerBase.php index c6f8044982a808bd5e0c8a4314d6ec0cd6a99125..9cf2130a1f3463bbb540b8a7dd84aceaf332038f 100644 --- a/lib/Drupal/views/Plugin/views/Handler.php +++ b/lib/Drupal/views/Plugin/views/HandlerBase.php @@ -2,15 +2,15 @@ /** * @file - * Definition of Drupal\views\Plugin\views\Handler + * Definition of Drupal\views\Plugin\views\HandlerBase. */ namespace Drupal\views\Plugin\views; -use Drupal\views\Plugin\views\Plugin; +use Drupal\views\Plugin\views\PluginBase; use Drupal\views\View; -abstract class Handler extends Plugin { +abstract class HandlerBase extends PluginBase { /** * Where the $query object will reside: diff --git a/lib/Drupal/views/Plugin/views/Plugin.php b/lib/Drupal/views/Plugin/views/PluginBase.php similarity index 97% rename from lib/Drupal/views/Plugin/views/Plugin.php rename to lib/Drupal/views/Plugin/views/PluginBase.php index 227d29889b815e1b0584e9231e0e298332f60e86..eb2b395502694ad26fe33bc2a6eb5f4b7293939e 100644 --- a/lib/Drupal/views/Plugin/views/Plugin.php +++ b/lib/Drupal/views/Plugin/views/PluginBase.php @@ -2,14 +2,14 @@ /** * @file - * Definition of Drupal\views\Plugin\views\Plugin. + * Definition of Drupal\views\Plugin\views\PluginBase. */ namespace Drupal\views\Plugin\views; -use Drupal\Component\Plugin\PluginBase; +use Drupal\Component\Plugin\PluginBase as ComponentPluginBase; -abstract class Plugin extends PluginBase { +abstract class PluginBase extends ComponentPluginBase { /** * Except for displays, options for the object will be held here. @@ -74,8 +74,8 @@ public function __construct(array $configuration, $plugin_id) { * @return array * Returns the options of this handler/plugin. * - * @see Drupal\views\Plugin\views\Plugin::export_option() - * @see Drupal\views\Plugin\views\Plugin::unpack_translatable() + * @see Drupal\views\Plugin\views\PluginBase::export_option() + * @see Drupal\views\Plugin\views\PluginBase::unpack_translatable() */ function option_definition() { return array(); } diff --git a/lib/Drupal/views/Plugin/views/access/AccessPluginBase.php b/lib/Drupal/views/Plugin/views/access/AccessPluginBase.php index 4b9dfc8e072b215d9374ad41402c08adbe9c9f6a..1e1180b2e1ccf758a28a0d2e7da915fdf7dff0f4 100644 --- a/lib/Drupal/views/Plugin/views/access/AccessPluginBase.php +++ b/lib/Drupal/views/Plugin/views/access/AccessPluginBase.php @@ -7,7 +7,7 @@ namespace Drupal\views\Plugin\views\access; -use Drupal\views\Plugin\views\Plugin; +use Drupal\views\Plugin\views\PluginBase; /** * @defgroup views_access_plugins Views access plugins @@ -20,7 +20,7 @@ /** * The base plugin to handle access control. */ -abstract class AccessPluginBase extends Plugin { +abstract class AccessPluginBase extends PluginBase { /** * Initialize the plugin. diff --git a/lib/Drupal/views/Plugin/views/area/AreaPluginBase.php b/lib/Drupal/views/Plugin/views/area/AreaPluginBase.php index 7eb387641a6d1f30d754e3f426b03c09bd211a94..ae50cbc5659ba68284e31f9cad0278d76d358101 100644 --- a/lib/Drupal/views/Plugin/views/area/AreaPluginBase.php +++ b/lib/Drupal/views/Plugin/views/area/AreaPluginBase.php @@ -7,8 +7,8 @@ namespace Drupal\views\Plugin\views\area; -use Drupal\views\Plugin\views\Plugin; -use Drupal\views\Plugin\views\Handler; +use Drupal\views\Plugin\views\PluginBase; +use Drupal\views\Plugin\views\HandlerBase; /** * @defgroup views_area_handlers Views area handlers @@ -22,10 +22,10 @@ * * @ingroup views_area_handlers */ -abstract class AreaPluginBase extends Handler { +abstract class AreaPluginBase extends HandlerBase { /** - * Overrides Handler::init(). + * Overrides Drupal\views\Plugin\views\HandlerBase::init(). * * Make sure that no result area handlers are set to be shown when the result * is empty. diff --git a/lib/Drupal/views/Plugin/views/argument/ArgumentPluginBase.php b/lib/Drupal/views/Plugin/views/argument/ArgumentPluginBase.php index 8036e159cb84924d97b7c4b0c75f663883070d7f..36e542f78a7734217673ca2f0bfd20c60e5954ae 100644 --- a/lib/Drupal/views/Plugin/views/argument/ArgumentPluginBase.php +++ b/lib/Drupal/views/Plugin/views/argument/ArgumentPluginBase.php @@ -7,8 +7,8 @@ namespace Drupal\views\Plugin\views\argument; -use Drupal\views\Plugin\views\Plugin; -use Drupal\views\Plugin\views\Handler; +use Drupal\views\Plugin\views\PluginBase; +use Drupal\views\Plugin\views\HandlerBase; /** * @defgroup views_argument_handlers Views argument handlers @@ -40,7 +40,7 @@ * * @ingroup views_argument_handlers */ -abstract class ArgumentPluginBase extends Handler { +abstract class ArgumentPluginBase extends HandlerBase { var $validator = NULL; var $argument = NULL; diff --git a/lib/Drupal/views/Plugin/views/argument_default/ArgumentDefaultPluginBase.php b/lib/Drupal/views/Plugin/views/argument_default/ArgumentDefaultPluginBase.php index 476cc0e912e258c244352ade4f2adeb19a905034..1e329e7a52e54789f2742a50daa2514a869ca560 100644 --- a/lib/Drupal/views/Plugin/views/argument_default/ArgumentDefaultPluginBase.php +++ b/lib/Drupal/views/Plugin/views/argument_default/ArgumentDefaultPluginBase.php @@ -7,7 +7,7 @@ namespace Drupal\views\Plugin\views\argument_default; -use Drupal\views\Plugin\views\Plugin; +use Drupal\views\Plugin\views\PluginBase; /** * @defgroup views_argument_default_plugins Views argument default plugins @@ -20,7 +20,7 @@ /** * The fixed argument default handler; also used as the base. */ -abstract class ArgumentDefaultPluginBase extends Plugin { +abstract class ArgumentDefaultPluginBase extends PluginBase { /** * Return the default argument. diff --git a/lib/Drupal/views/Plugin/views/argument_validator/ArgumentValidatorPluginBase.php b/lib/Drupal/views/Plugin/views/argument_validator/ArgumentValidatorPluginBase.php index f89c57d55bd0391fa10155786a118eb599b93d37..99a29920360750ba40fb56b9bf52be10aa21f10e 100644 --- a/lib/Drupal/views/Plugin/views/argument_validator/ArgumentValidatorPluginBase.php +++ b/lib/Drupal/views/Plugin/views/argument_validator/ArgumentValidatorPluginBase.php @@ -7,7 +7,7 @@ namespace Drupal\views\Plugin\views\argument_validator; -use Drupal\views\Plugin\views\Plugin; +use Drupal\views\Plugin\views\PluginBase; /** * @defgroup views_argument_validate_plugins Views argument validate plugins @@ -20,7 +20,7 @@ /** * Base argument validator plugin to provide basic functionality. */ -abstract class ArgumentValidatorPluginBase extends Plugin { +abstract class ArgumentValidatorPluginBase extends PluginBase { /** * Initialize this plugin with the view and the argument diff --git a/lib/Drupal/views/Plugin/views/cache/CachePluginBase.php b/lib/Drupal/views/Plugin/views/cache/CachePluginBase.php index ecf010e9c53b72a7d22d39f693288bbba661a583..6334895e88f7e3b34488c7fb14c4a42504a81320 100644 --- a/lib/Drupal/views/Plugin/views/cache/CachePluginBase.php +++ b/lib/Drupal/views/Plugin/views/cache/CachePluginBase.php @@ -7,7 +7,7 @@ namespace Drupal\views\Plugin\views\cache; -use Drupal\views\Plugin\views\Plugin; +use Drupal\views\Plugin\views\PluginBase; use Drupal\Core\Database\Query\Select; /** @@ -21,7 +21,7 @@ /** * The base plugin to handle caching. */ -abstract class CachePluginBase extends Plugin { +abstract class CachePluginBase extends PluginBase { /** * Contains all data that should be written/read from cache. diff --git a/lib/Drupal/views/Plugin/views/display/DisplayPluginBase.php b/lib/Drupal/views/Plugin/views/display/DisplayPluginBase.php index 5fc77acc883addcc7ec34bf9baea69514adcb044..8c6483c45f459384dd19c3c11bd80bee6ddcf315 100644 --- a/lib/Drupal/views/Plugin/views/display/DisplayPluginBase.php +++ b/lib/Drupal/views/Plugin/views/display/DisplayPluginBase.php @@ -8,7 +8,7 @@ namespace Drupal\views\Plugin\views\display; use Drupal\views\View; -use Drupal\views\Plugin\views\Plugin; +use Drupal\views\Plugin\views\PluginBase; use Drupal\views\Plugin\Type\ViewsPluginManager; /** @@ -28,7 +28,7 @@ * The default display plugin handler. Display plugins handle options and * basic mechanisms for different output methods. */ -abstract class DisplayPluginBase extends Plugin { +abstract class DisplayPluginBase extends PluginBase { /** * The top object of a view. diff --git a/lib/Drupal/views/Plugin/views/display_extender/DisplayExtenderPluginBase.php b/lib/Drupal/views/Plugin/views/display_extender/DisplayExtenderPluginBase.php index 107c91ea59f0f02000589160cd6b26e848aa8a2e..9985f1e5137e3fb7294e010502fd3ec25ca4bfd7 100644 --- a/lib/Drupal/views/Plugin/views/display_extender/DisplayExtenderPluginBase.php +++ b/lib/Drupal/views/Plugin/views/display_extender/DisplayExtenderPluginBase.php @@ -7,7 +7,7 @@ namespace Drupal\views\Plugin\views\display_extender; -use Drupal\views\Plugin\views\Plugin; +use Drupal\views\Plugin\views\PluginBase; use Drupal\Core\Annotation\Translation; /** @@ -15,7 +15,7 @@ * * @ingroup views_display_plugins */ -abstract class DisplayExtenderPluginBase extends Plugin { +abstract class DisplayExtenderPluginBase extends PluginBase { function init(&$view, &$display) { $this->view = $view; diff --git a/lib/Drupal/views/Plugin/views/exposed_form/ExposedFormPluginBase.php b/lib/Drupal/views/Plugin/views/exposed_form/ExposedFormPluginBase.php index 8ce60dbc925f7f52d70cf754c9fb2c143bc70b26..3c0da96fe822940d21be93047bd6efe788eeaadc 100644 --- a/lib/Drupal/views/Plugin/views/exposed_form/ExposedFormPluginBase.php +++ b/lib/Drupal/views/Plugin/views/exposed_form/ExposedFormPluginBase.php @@ -7,7 +7,7 @@ namespace Drupal\views\Plugin\views\exposed_form; -use Drupal\views\Plugin\views\Plugin; +use Drupal\views\Plugin\views\PluginBase; /** * @defgroup views_exposed_form_plugins Views exposed form plugins @@ -22,7 +22,7 @@ /** * The base plugin to handle exposed filter forms. */ -abstract class ExposedFormPluginBase extends Plugin { +abstract class ExposedFormPluginBase extends PluginBase { /** * Initialize the plugin. diff --git a/lib/Drupal/views/Plugin/views/field/FieldPluginBase.php b/lib/Drupal/views/Plugin/views/field/FieldPluginBase.php index f9fedc6cb3462b8feefee90d595501d484d24ec3..5fc0251229ebf42793c564df570e0868f2fb754d 100644 --- a/lib/Drupal/views/Plugin/views/field/FieldPluginBase.php +++ b/lib/Drupal/views/Plugin/views/field/FieldPluginBase.php @@ -7,7 +7,7 @@ namespace Drupal\views\Plugin\views\field; -use Drupal\views\Plugin\views\Handler; +use Drupal\views\Plugin\views\HandlerBase; use Drupal\Core\Annotation\Plugin; /** @@ -47,7 +47,7 @@ * * @ingroup views_field_handlers */ -abstract class FieldPluginBase extends Handler { +abstract class FieldPluginBase extends HandlerBase { var $field_alias = 'unknown'; var $aliases = array(); diff --git a/lib/Drupal/views/Plugin/views/filter/FilterPluginBase.php b/lib/Drupal/views/Plugin/views/filter/FilterPluginBase.php index 3f8c93f364b1dd57330f1d023ca1df37b0c45c7d..27acacabfd5e25fc98f0a323fd6fdd05e8f0b7d4 100644 --- a/lib/Drupal/views/Plugin/views/filter/FilterPluginBase.php +++ b/lib/Drupal/views/Plugin/views/filter/FilterPluginBase.php @@ -7,7 +7,7 @@ namespace Drupal\views\Plugin\views\filter; -use Drupal\views\Plugin\views\Handler; +use Drupal\views\Plugin\views\HandlerBase; use Drupal\Core\Annotation\Plugin; /** @@ -36,7 +36,7 @@ * * @ingroup views_filter_handlers */ -abstract class FilterPluginBase extends Handler { +abstract class FilterPluginBase extends HandlerBase { /** * Contains the actual value of the field,either configured in the views ui diff --git a/lib/Drupal/views/Plugin/views/localization/LocalizationPluginBase.php b/lib/Drupal/views/Plugin/views/localization/LocalizationPluginBase.php index 8e38aaf92d95fd73c34da63974d96b933d4a9b84..81151d6e352f675badc9bc0a22fe30b92698d296 100644 --- a/lib/Drupal/views/Plugin/views/localization/LocalizationPluginBase.php +++ b/lib/Drupal/views/Plugin/views/localization/LocalizationPluginBase.php @@ -7,7 +7,7 @@ namespace Drupal\views\Plugin\views\localization; -use Drupal\views\Plugin\views\Plugin; +use Drupal\views\Plugin\views\PluginBase; /** * @defgroup views_localization_plugins Views localization plugins @@ -20,7 +20,7 @@ /** * The base plugin to handle localization of Views strings. */ -abstract class LocalizationPluginBase extends Plugin { +abstract class LocalizationPluginBase extends PluginBase { // Store for exported strings var $export_strings = array(); diff --git a/lib/Drupal/views/Plugin/views/pager/PagerPluginBase.php b/lib/Drupal/views/Plugin/views/pager/PagerPluginBase.php index 605c9f798ac79a4aa43e36352558f33b4c87b5d0..e7cee8bd5aa3629d4b91ce5c3ebd1319670a6077 100644 --- a/lib/Drupal/views/Plugin/views/pager/PagerPluginBase.php +++ b/lib/Drupal/views/Plugin/views/pager/PagerPluginBase.php @@ -7,7 +7,7 @@ namespace Drupal\views\Plugin\views\pager; -use Drupal\views\Plugin\views\Plugin; +use Drupal\views\Plugin\views\PluginBase; /** * @defgroup views_pager_plugins Views pager plugins @@ -20,7 +20,7 @@ /** * The base plugin to handle pager. */ -abstract class PagerPluginBase extends Plugin { +abstract class PagerPluginBase extends PluginBase { var $current_page = NULL; diff --git a/lib/Drupal/views/Plugin/views/query/QueryPluginBase.php b/lib/Drupal/views/Plugin/views/query/QueryPluginBase.php index bf4d0b994565fe3d5bef75d2b285375de28d8e04..026e7a99d9713cea7d384ef6bab8e3a15be5af54 100644 --- a/lib/Drupal/views/Plugin/views/query/QueryPluginBase.php +++ b/lib/Drupal/views/Plugin/views/query/QueryPluginBase.php @@ -6,12 +6,12 @@ namespace Drupal\views\Plugin\views\query; -use Drupal\views\Plugin\views\Plugin; +use Drupal\views\Plugin\views\PluginBase; /** * @todo. */ -abstract class QueryPluginBase extends Plugin implements QueryInterface { +abstract class QueryPluginBase extends PluginBase implements QueryInterface { /** * A pager plugin that should be provided by the display. diff --git a/lib/Drupal/views/Plugin/views/relationship/Broken.php b/lib/Drupal/views/Plugin/views/relationship/Broken.php index a4c64d1d24f07d6eaf6f5ba5ae1ff974177e4f8c..d551db07352b1ed6467b484d63400847b2b9d408 100644 --- a/lib/Drupal/views/Plugin/views/relationship/Broken.php +++ b/lib/Drupal/views/Plugin/views/relationship/Broken.php @@ -7,7 +7,6 @@ namespace Drupal\views\Plugin\views\relationship; -use Drupal\views\Plugin\views\Handler; use Drupal\Core\Annotation\Plugin; /** diff --git a/lib/Drupal/views/Plugin/views/relationship/RelationshipPluginBase.php b/lib/Drupal/views/Plugin/views/relationship/RelationshipPluginBase.php index 6753be3dd681f96e59a4801b6e4ad951a7d87230..7a268dba182fd4fb112094cd2faba9cc5c084c58 100644 --- a/lib/Drupal/views/Plugin/views/relationship/RelationshipPluginBase.php +++ b/lib/Drupal/views/Plugin/views/relationship/RelationshipPluginBase.php @@ -7,7 +7,7 @@ namespace Drupal\views\Plugin\views\relationship; -use Drupal\views\Plugin\views\Handler; +use Drupal\views\Plugin\views\HandlerBase; use Drupal\views\Join; use Drupal\Core\Annotation\Plugin; @@ -41,7 +41,7 @@ * * @ingroup views_relationship_handlers */ -abstract class RelationshipPluginBase extends Handler { +abstract class RelationshipPluginBase extends HandlerBase { /** * Init handler to let relationships live on tables other than diff --git a/lib/Drupal/views/Plugin/views/row/RowPluginBase.php b/lib/Drupal/views/Plugin/views/row/RowPluginBase.php index d6e303f72c39705732d6429d22e7e34fd20d0a17..f51d232d07942a29f79d67ca6fd29af9bf32a29f 100644 --- a/lib/Drupal/views/Plugin/views/row/RowPluginBase.php +++ b/lib/Drupal/views/Plugin/views/row/RowPluginBase.php @@ -7,7 +7,7 @@ namespace Drupal\views\Plugin\views\row; -use Drupal\views\Plugin\views\Plugin; +use Drupal\views\Plugin\views\PluginBase; /** * @defgroup views_row_plugins Views row plugins @@ -24,7 +24,7 @@ * Default plugin to view a single row of a table. This is really just a wrapper around * a theme function. */ -abstract class RowPluginBase extends Plugin { +abstract class RowPluginBase extends PluginBase { /** * Initialize the row plugin. diff --git a/lib/Drupal/views/Plugin/views/sort/SortPluginBase.php b/lib/Drupal/views/Plugin/views/sort/SortPluginBase.php index f3988618cc7d03ee521f42fc1b0d46364020bf94..d73ede63faa76e69c36a5a9709fc4a198c9eaa4c 100644 --- a/lib/Drupal/views/Plugin/views/sort/SortPluginBase.php +++ b/lib/Drupal/views/Plugin/views/sort/SortPluginBase.php @@ -7,7 +7,7 @@ namespace Drupal\views\Plugin\views\sort; -use Drupal\views\Plugin\views\Handler; +use Drupal\views\Plugin\views\HandlerBase; use Drupal\Core\Annotation\Plugin; /** @@ -21,7 +21,7 @@ * * @ingroup views_sort_handlers */ -abstract class SortPluginBase extends Handler { +abstract class SortPluginBase extends HandlerBase { /** * Determine if a sort can be exposed. diff --git a/lib/Drupal/views/Plugin/views/style/StylePluginBase.php b/lib/Drupal/views/Plugin/views/style/StylePluginBase.php index 3d7b9d281d0b8fed1873cc10cb6efb790fa3d5f7..7735f298a80f59a069489f14270f0c0b8ba56f04 100644 --- a/lib/Drupal/views/Plugin/views/style/StylePluginBase.php +++ b/lib/Drupal/views/Plugin/views/style/StylePluginBase.php @@ -7,7 +7,7 @@ namespace Drupal\views\Plugin\views\style; -use Drupal\views\Plugin\views\Plugin as ViewsPlugin; +use Drupal\views\Plugin\views\PluginBase; use Drupal\Core\Annotation\Plugin; use Drupal\Core\Annotation\Translation; @@ -28,7 +28,7 @@ /** * Base class to define a style plugin handler. */ -abstract class StylePluginBase extends ViewsPlugin { +abstract class StylePluginBase extends PluginBase { /** * Store all available tokens row rows.