diff --git a/core/modules/comment/lib/Drupal/comment/Plugin/views/argument/UserUid.php b/core/modules/comment/lib/Drupal/comment/Plugin/views/argument/UserUid.php index b97f15e..e4fe764 100644 --- a/core/modules/comment/lib/Drupal/comment/Plugin/views/argument/UserUid.php +++ b/core/modules/comment/lib/Drupal/comment/Plugin/views/argument/UserUid.php @@ -8,7 +8,7 @@ namespace Drupal\comment\Plugin\views\argument; use Drupal\views\Plugin\views\argument\ArgumentPluginBase; -use Drupal\Component\Annotation\Plugin; +use Drupal\Component\Annotation\PluginID; /** * Argument handler to accept a user id to check for nodes that @@ -16,10 +16,7 @@ * * @ingroup views_argument_handlers * - * @Plugin( - * id = "argument_comment_user_uid", - * module = "comment" - * ) + * @PluginID("argument_comment_user_uid") */ class UserUid extends ArgumentPluginBase { diff --git a/core/modules/field/lib/Drupal/field/Plugin/views/argument/FieldList.php b/core/modules/field/lib/Drupal/field/Plugin/views/argument/FieldList.php index 9409689..2176c91 100644 --- a/core/modules/field/lib/Drupal/field/Plugin/views/argument/FieldList.php +++ b/core/modules/field/lib/Drupal/field/Plugin/views/argument/FieldList.php @@ -10,7 +10,7 @@ use Drupal\views\ViewExecutable; use Drupal\views\Plugin\views\display\DisplayPluginBase; use Drupal\views\Plugin\views\argument\Numeric; -use Drupal\Component\Annotation\Plugin; +use Drupal\Component\Annotation\PluginID; /** * Argument handler for list field to show the human readable name in the @@ -18,10 +18,7 @@ * * @ingroup views_argument_handlers * - * @Plugin( - * id = "field_list", - * module = "field" - * ) + * @PluginID("field_list") */ class FieldList extends Numeric { diff --git a/core/modules/field/lib/Drupal/field/Plugin/views/argument/ListString.php b/core/modules/field/lib/Drupal/field/Plugin/views/argument/ListString.php index daeb8ac..ada688f 100644 --- a/core/modules/field/lib/Drupal/field/Plugin/views/argument/ListString.php +++ b/core/modules/field/lib/Drupal/field/Plugin/views/argument/ListString.php @@ -10,7 +10,7 @@ use Drupal\views\ViewExecutable; use Drupal\views\Plugin\views\display\DisplayPluginBase; use Drupal\views\Plugin\views\argument\String; -use Drupal\Component\Annotation\Plugin; +use Drupal\Component\Annotation\PluginID; /** * Argument handler for list field to show the human readable name in the @@ -18,10 +18,7 @@ * * @ingroup views_argument_handlers * - * @Plugin( - * id = "field_list_string", - * module = "field" - * ) + * @PluginID("field_list_string") */ class ListString extends String { diff --git a/core/modules/file/lib/Drupal/file/Plugin/views/argument/Fid.php b/core/modules/file/lib/Drupal/file/Plugin/views/argument/Fid.php index 886bf33..d0fb508 100644 --- a/core/modules/file/lib/Drupal/file/Plugin/views/argument/Fid.php +++ b/core/modules/file/lib/Drupal/file/Plugin/views/argument/Fid.php @@ -7,7 +7,7 @@ namespace Drupal\file\Plugin\views\argument; -use Drupal\Component\Annotation\Plugin; +use Drupal\Component\Annotation\PluginID; use Drupal\views\Plugin\views\argument\Numeric; /** @@ -15,10 +15,7 @@ * * @ingroup views_argument_handlers * - * @Plugin( - * id = "file_fid", - * module = "file" - * ) + * @PluginID("file_fid") */ class Fid extends Numeric { diff --git a/core/modules/language/lib/Drupal/language/Plugin/views/argument/LanguageArgument.php b/core/modules/language/lib/Drupal/language/Plugin/views/argument/LanguageArgument.php index 44ebbe2..a23e7c4 100644 --- a/core/modules/language/lib/Drupal/language/Plugin/views/argument/LanguageArgument.php +++ b/core/modules/language/lib/Drupal/language/Plugin/views/argument/LanguageArgument.php @@ -8,17 +8,14 @@ namespace Drupal\language\Plugin\views\argument; use Drupal\views\Plugin\views\argument\ArgumentPluginBase; -use Drupal\Component\Annotation\Plugin; +use Drupal\Component\Annotation\PluginID; /** * Defines an argument handler to accept a language. * * @ingroup views_argument_handlers * - * @Plugin( - * id = "language", - * module = "language" - * ) + * @PluginID("language") */ class LanguageArgument extends ArgumentPluginBase { diff --git a/core/modules/node/lib/Drupal/node/Plugin/views/argument/Nid.php b/core/modules/node/lib/Drupal/node/Plugin/views/argument/Nid.php index f19676b..4519778 100644 --- a/core/modules/node/lib/Drupal/node/Plugin/views/argument/Nid.php +++ b/core/modules/node/lib/Drupal/node/Plugin/views/argument/Nid.php @@ -8,15 +8,12 @@ namespace Drupal\node\Plugin\views\argument; use Drupal\views\Plugin\views\argument\Numeric; -use Drupal\Component\Annotation\Plugin; +use Drupal\Component\Annotation\PluginID; /** * Argument handler to accept a node id. * - * @Plugin( - * id = "node_nid", - * module = "node" - * ) + * @PluginID("node_nid") */ class Nid extends Numeric { diff --git a/core/modules/node/lib/Drupal/node/Plugin/views/argument/Type.php b/core/modules/node/lib/Drupal/node/Plugin/views/argument/Type.php index 00eb0a6..e8eb090 100644 --- a/core/modules/node/lib/Drupal/node/Plugin/views/argument/Type.php +++ b/core/modules/node/lib/Drupal/node/Plugin/views/argument/Type.php @@ -8,15 +8,12 @@ namespace Drupal\node\Plugin\views\argument; use Drupal\views\Plugin\views\argument\String; -use Drupal\Component\Annotation\Plugin; +use Drupal\Component\Annotation\PluginID; /** * Argument handler to accept a node type. * - * @Plugin( - * id = "node_type", - * module = "node" - * ) + * @PluginID("node_type") */ class Type extends String { diff --git a/core/modules/node/lib/Drupal/node/Plugin/views/argument/UidRevision.php b/core/modules/node/lib/Drupal/node/Plugin/views/argument/UidRevision.php index 5630b03..d432024 100644 --- a/core/modules/node/lib/Drupal/node/Plugin/views/argument/UidRevision.php +++ b/core/modules/node/lib/Drupal/node/Plugin/views/argument/UidRevision.php @@ -8,16 +8,13 @@ namespace Drupal\node\Plugin\views\argument; use Drupal\user\Plugin\views\argument\Uid; -use Drupal\Component\Annotation\Plugin; +use Drupal\Component\Annotation\PluginID; /** * Filter handler to accept a user id to check for nodes that * user posted or created a revision on. * - * @Plugin( - * id = "node_uid_revision", - * module = "node" - * ) + * @PluginID("node_uid_revision") */ class UidRevision extends Uid { diff --git a/core/modules/node/lib/Drupal/node/Plugin/views/argument/Vid.php b/core/modules/node/lib/Drupal/node/Plugin/views/argument/Vid.php index 3136671..4e36279 100644 --- a/core/modules/node/lib/Drupal/node/Plugin/views/argument/Vid.php +++ b/core/modules/node/lib/Drupal/node/Plugin/views/argument/Vid.php @@ -8,15 +8,12 @@ namespace Drupal\node\Plugin\views\argument; use Drupal\views\Plugin\views\argument\Numeric; -use Drupal\Component\Annotation\Plugin; +use Drupal\Component\Annotation\PluginID; /** * Argument handler to accept a node revision id. * - * @Plugin( - * id = "node_vid", - * module = "node" - * ) + * @PluginID("node_vid") */ class Vid extends Numeric { diff --git a/core/modules/search/lib/Drupal/search/Plugin/views/argument/Search.php b/core/modules/search/lib/Drupal/search/Plugin/views/argument/Search.php index 354b0c1..0f4f4b5 100644 --- a/core/modules/search/lib/Drupal/search/Plugin/views/argument/Search.php +++ b/core/modules/search/lib/Drupal/search/Plugin/views/argument/Search.php @@ -8,17 +8,14 @@ namespace Drupal\search\Plugin\views\argument; use Drupal\views\Plugin\views\argument\ArgumentPluginBase; -use Drupal\Component\Annotation\Plugin; +use Drupal\Component\Annotation\PluginID; /** * Argument that accepts query keys for search. * * @ingroup views_argument_handlers * - * @Plugin( - * id = "search", - * module = "search" - * ) + * @PluginID("search") */ class Search extends ArgumentPluginBase { diff --git a/core/modules/taxonomy/lib/Drupal/taxonomy/Plugin/views/argument/IndexTid.php b/core/modules/taxonomy/lib/Drupal/taxonomy/Plugin/views/argument/IndexTid.php index 0cbcadd..f51a5ce 100644 --- a/core/modules/taxonomy/lib/Drupal/taxonomy/Plugin/views/argument/IndexTid.php +++ b/core/modules/taxonomy/lib/Drupal/taxonomy/Plugin/views/argument/IndexTid.php @@ -7,7 +7,7 @@ namespace Drupal\taxonomy\Plugin\views\argument; -use Drupal\Component\Annotation\Plugin; +use Drupal\Component\Annotation\PluginID; use Drupal\views\Plugin\views\argument\ManyToOne; /** @@ -15,10 +15,7 @@ * * @ingroup views_argument_handlers * - * @Plugin( - * id = "taxonomy_index_tid", - * module = "taxonomy" - * ) + * @PluginID("taxonomy_index_tid") */ class IndexTid extends ManyToOne { diff --git a/core/modules/taxonomy/lib/Drupal/taxonomy/Plugin/views/argument/IndexTidDepth.php b/core/modules/taxonomy/lib/Drupal/taxonomy/Plugin/views/argument/IndexTidDepth.php index c43c69e..a08190c 100644 --- a/core/modules/taxonomy/lib/Drupal/taxonomy/Plugin/views/argument/IndexTidDepth.php +++ b/core/modules/taxonomy/lib/Drupal/taxonomy/Plugin/views/argument/IndexTidDepth.php @@ -8,7 +8,7 @@ namespace Drupal\taxonomy\Plugin\views\argument; use Drupal\views\Plugin\views\argument\ArgumentPluginBase; -use Drupal\Component\Annotation\Plugin; +use Drupal\Component\Annotation\PluginID; /** * Argument handler for taxonomy terms with depth. @@ -18,10 +18,7 @@ * * @ingroup views_argument_handlers * - * @Plugin( - * id = "taxonomy_index_tid_depth", - * module = "taxonomy" - * ) + * @PluginID("taxonomy_index_tid_depth") */ class IndexTidDepth extends ArgumentPluginBase { diff --git a/core/modules/taxonomy/lib/Drupal/taxonomy/Plugin/views/argument/IndexTidDepthModifier.php b/core/modules/taxonomy/lib/Drupal/taxonomy/Plugin/views/argument/IndexTidDepthModifier.php index c8aecf0..db159d7 100644 --- a/core/modules/taxonomy/lib/Drupal/taxonomy/Plugin/views/argument/IndexTidDepthModifier.php +++ b/core/modules/taxonomy/lib/Drupal/taxonomy/Plugin/views/argument/IndexTidDepthModifier.php @@ -8,7 +8,7 @@ namespace Drupal\taxonomy\Plugin\views\argument; use Drupal\views\Plugin\views\argument\ArgumentPluginBase; -use Drupal\Component\Annotation\Plugin; +use Drupal\Component\Annotation\PluginID; /** * Argument handler for to modify depth for a previous term. @@ -18,10 +18,7 @@ * * @ingroup views_argument_handlers * - * @Plugin( - * id = "taxonomy_index_tid_depth_modifier", - * module = "taxonomy" - * ) + * @PluginID("taxonomy_index_tid_depth_modifier") */ class IndexTidDepthModifier extends ArgumentPluginBase { diff --git a/core/modules/taxonomy/lib/Drupal/taxonomy/Plugin/views/argument/Taxonomy.php b/core/modules/taxonomy/lib/Drupal/taxonomy/Plugin/views/argument/Taxonomy.php index 3106222..3a132dd 100644 --- a/core/modules/taxonomy/lib/Drupal/taxonomy/Plugin/views/argument/Taxonomy.php +++ b/core/modules/taxonomy/lib/Drupal/taxonomy/Plugin/views/argument/Taxonomy.php @@ -8,17 +8,14 @@ namespace Drupal\taxonomy\Plugin\views\argument; use Drupal\views\Plugin\views\argument\Numeric; -use Drupal\Component\Annotation\Plugin; +use Drupal\Component\Annotation\PluginID; /** * Argument handler for basic taxonomy tid. * * @ingroup views_argument_handlers * - * @Plugin( - * id = "taxonomy", - * module = "taxonomy" - * ) + * @PluginID("taxonomy") */ class Taxonomy extends Numeric { diff --git a/core/modules/taxonomy/lib/Drupal/taxonomy/Plugin/views/argument/VocabularyVid.php b/core/modules/taxonomy/lib/Drupal/taxonomy/Plugin/views/argument/VocabularyVid.php index c036ed5..618ddfd 100644 --- a/core/modules/taxonomy/lib/Drupal/taxonomy/Plugin/views/argument/VocabularyVid.php +++ b/core/modules/taxonomy/lib/Drupal/taxonomy/Plugin/views/argument/VocabularyVid.php @@ -7,7 +7,7 @@ namespace Drupal\taxonomy\Plugin\views\argument; -use Drupal\Component\Annotation\Plugin; +use Drupal\Component\Annotation\PluginID; use Drupal\views\Plugin\views\argument\Numeric; /** @@ -15,10 +15,7 @@ * * @ingroup views_argument_handlers * - * @Plugin( - * id = "vocabulary_vid", - * module = "taxonomy" - * ) + * @PluginID("vocabulary_vid") */ class VocabularyVid extends Numeric { diff --git a/core/modules/user/lib/Drupal/user/Plugin/views/argument/RolesRid.php b/core/modules/user/lib/Drupal/user/Plugin/views/argument/RolesRid.php index c2fdf2a..bbef57e 100644 --- a/core/modules/user/lib/Drupal/user/Plugin/views/argument/RolesRid.php +++ b/core/modules/user/lib/Drupal/user/Plugin/views/argument/RolesRid.php @@ -7,7 +7,7 @@ namespace Drupal\user\Plugin\views\argument; -use Drupal\Component\Annotation\Plugin; +use Drupal\Component\Annotation\PluginID; use Drupal\views\Plugin\views\argument\ManyToOne; /** @@ -15,10 +15,7 @@ * * @ingroup views_argument_handlers * - * @Plugin( - * id = "users_roles_rid", - * module = "user" - * ) + * @PluginID("users_roles_rid") */ class RolesRid extends ManyToOne { diff --git a/core/modules/user/lib/Drupal/user/Plugin/views/argument/Uid.php b/core/modules/user/lib/Drupal/user/Plugin/views/argument/Uid.php index bbcbccf..82c5b75 100644 --- a/core/modules/user/lib/Drupal/user/Plugin/views/argument/Uid.php +++ b/core/modules/user/lib/Drupal/user/Plugin/views/argument/Uid.php @@ -7,7 +7,7 @@ namespace Drupal\user\Plugin\views\argument; -use Drupal\Component\Annotation\Plugin; +use Drupal\Component\Annotation\PluginID; use Drupal\views\Plugin\views\argument\Numeric; /** @@ -15,10 +15,7 @@ * * @ingroup views_argument_handlers * - * @Plugin( - * id = "user_uid", - * module = "user" - * ) + * @PluginID("user_uid") */ class Uid extends Numeric { diff --git a/core/modules/views/lib/Drupal/views/Plugin/views/argument/Broken.php b/core/modules/views/lib/Drupal/views/Plugin/views/argument/Broken.php index 02cbcf7..d74ab95 100644 --- a/core/modules/views/lib/Drupal/views/Plugin/views/argument/Broken.php +++ b/core/modules/views/lib/Drupal/views/Plugin/views/argument/Broken.php @@ -7,16 +7,14 @@ namespace Drupal\views\Plugin\views\argument; -use Drupal\Component\Annotation\Plugin; +use Drupal\Component\Annotation\PluginID; /** * A special handler to take the place of missing or broken handlers. * * @ingroup views_argument_handlers * - * @Plugin( - * id = "broken" - * ) + * @PluginID("broken") */ class Broken extends ArgumentPluginBase { diff --git a/core/modules/views/lib/Drupal/views/Plugin/views/argument/Date.php b/core/modules/views/lib/Drupal/views/Plugin/views/argument/Date.php index 73d2899..6294ee3 100644 --- a/core/modules/views/lib/Drupal/views/Plugin/views/argument/Date.php +++ b/core/modules/views/lib/Drupal/views/Plugin/views/argument/Date.php @@ -7,7 +7,7 @@ namespace Drupal\views\Plugin\views\argument; -use Drupal\Component\Annotation\Plugin; +use Drupal\Component\Annotation\PluginID; use Drupal\Core\Database\Database; /** @@ -24,9 +24,7 @@ * * @ingroup views_argument_handlers * - * @Plugin( - * id = "date" - * ) + * @PluginID("date") */ class Date extends Formula { diff --git a/core/modules/views/lib/Drupal/views/Plugin/views/argument/DayDate.php b/core/modules/views/lib/Drupal/views/Plugin/views/argument/DayDate.php index 4fefcd5..003f50b 100644 --- a/core/modules/views/lib/Drupal/views/Plugin/views/argument/DayDate.php +++ b/core/modules/views/lib/Drupal/views/Plugin/views/argument/DayDate.php @@ -7,15 +7,12 @@ namespace Drupal\views\Plugin\views\argument; -use Drupal\Component\Annotation\Plugin; +use Drupal\Component\Annotation\PluginID; /** * Argument handler for a day (DD) * - * @Plugin( - * id = "date_day", - * module = "views" - * ) + * @PluginID("date_day") */ class DayDate extends Date { diff --git a/core/modules/views/lib/Drupal/views/Plugin/views/argument/Formula.php b/core/modules/views/lib/Drupal/views/Plugin/views/argument/Formula.php index 3ed559a..d04982f 100644 --- a/core/modules/views/lib/Drupal/views/Plugin/views/argument/Formula.php +++ b/core/modules/views/lib/Drupal/views/Plugin/views/argument/Formula.php @@ -7,7 +7,7 @@ namespace Drupal\views\Plugin\views\argument; -use Drupal\Component\Annotation\Plugin; +use Drupal\Component\Annotation\PluginID; use Drupal\views\Plugin\views\display\DisplayPluginBase; use Drupal\views\ViewExecutable; @@ -21,9 +21,7 @@ * * @ingroup views_argument_handlers * - * @Plugin( - * id = "formula" - * ) + * @PluginID("formula") */ class Formula extends ArgumentPluginBase { diff --git a/core/modules/views/lib/Drupal/views/Plugin/views/argument/FullDate.php b/core/modules/views/lib/Drupal/views/Plugin/views/argument/FullDate.php index b1f5c43..0626504 100644 --- a/core/modules/views/lib/Drupal/views/Plugin/views/argument/FullDate.php +++ b/core/modules/views/lib/Drupal/views/Plugin/views/argument/FullDate.php @@ -7,15 +7,12 @@ namespace Drupal\views\Plugin\views\argument; -use Drupal\Component\Annotation\Plugin; +use Drupal\Component\Annotation\PluginID; /** * Argument handler for a full date (CCYYMMDD) * - * @Plugin( - * id = "date_fulldate", - * module = "views" - * ) + * @PluginID("date_fulldate") */ class FullDate extends Date { diff --git a/core/modules/views/lib/Drupal/views/Plugin/views/argument/GroupByNumeric.php b/core/modules/views/lib/Drupal/views/Plugin/views/argument/GroupByNumeric.php index 72fbfed..7e8ef76 100644 --- a/core/modules/views/lib/Drupal/views/Plugin/views/argument/GroupByNumeric.php +++ b/core/modules/views/lib/Drupal/views/Plugin/views/argument/GroupByNumeric.php @@ -7,16 +7,14 @@ namespace Drupal\views\Plugin\views\argument; -use Drupal\Component\Annotation\Plugin; +use Drupal\Component\Annotation\PluginID; /** * Simple handler for arguments using group by. * * @ingroup views_argument_handlers * - * @Plugin( - * id = "groupby_numeric" - * ) + * @PluginID("groupby_numeric") */ class GroupByNumeric extends ArgumentPluginBase { diff --git a/core/modules/views/lib/Drupal/views/Plugin/views/argument/ManyToOne.php b/core/modules/views/lib/Drupal/views/Plugin/views/argument/ManyToOne.php index 3ee47fe..803d31a 100644 --- a/core/modules/views/lib/Drupal/views/Plugin/views/argument/ManyToOne.php +++ b/core/modules/views/lib/Drupal/views/Plugin/views/argument/ManyToOne.php @@ -9,7 +9,7 @@ use Drupal\views\ViewExecutable; use Drupal\views\Plugin\views\display\DisplayPluginBase; -use Drupal\Component\Annotation\Plugin; +use Drupal\Component\Annotation\PluginID; use Drupal\views\ManyToOneHelper; /** @@ -25,9 +25,7 @@ * * @ingroup views_argument_handlers * - * @Plugin( - * id = "many_to_one" - * ) + * @PluginID("many_to_one") */ class ManyToOne extends ArgumentPluginBase { diff --git a/core/modules/views/lib/Drupal/views/Plugin/views/argument/MonthDate.php b/core/modules/views/lib/Drupal/views/Plugin/views/argument/MonthDate.php index 2a7a11b..2618836 100644 --- a/core/modules/views/lib/Drupal/views/Plugin/views/argument/MonthDate.php +++ b/core/modules/views/lib/Drupal/views/Plugin/views/argument/MonthDate.php @@ -7,15 +7,12 @@ namespace Drupal\views\Plugin\views\argument; -use Drupal\Component\Annotation\Plugin; +use Drupal\Component\Annotation\PluginID; /** * Argument handler for a month (MM) * - * @Plugin( - * id = "date_month", - * module = "views" - * ) + * @PluginID("date_month") */ class MonthDate extends Date { diff --git a/core/modules/views/lib/Drupal/views/Plugin/views/argument/Null.php b/core/modules/views/lib/Drupal/views/Plugin/views/argument/Null.php index 33a47bd..31e04b0 100644 --- a/core/modules/views/lib/Drupal/views/Plugin/views/argument/Null.php +++ b/core/modules/views/lib/Drupal/views/Plugin/views/argument/Null.php @@ -7,16 +7,14 @@ namespace Drupal\views\Plugin\views\argument; -use Drupal\Component\Annotation\Plugin; +use Drupal\Component\Annotation\PluginID; /** * Argument handler that ignores the argument. * * @ingroup views_argument_handlers * - * @Plugin( - * id = "null" - * ) + * @PluginID("null") */ class Null extends ArgumentPluginBase { diff --git a/core/modules/views/lib/Drupal/views/Plugin/views/argument/Numeric.php b/core/modules/views/lib/Drupal/views/Plugin/views/argument/Numeric.php index c694400..3038694 100644 --- a/core/modules/views/lib/Drupal/views/Plugin/views/argument/Numeric.php +++ b/core/modules/views/lib/Drupal/views/Plugin/views/argument/Numeric.php @@ -7,7 +7,7 @@ namespace Drupal\views\Plugin\views\argument; -use Drupal\Component\Annotation\Plugin; +use Drupal\Component\Annotation\PluginID; /** * Basic argument handler for arguments that are numeric. Incorporates @@ -15,9 +15,7 @@ * * @ingroup views_argument_handlers * - * @Plugin( - * id = "numeric" - * ) + * @PluginID("numeric") */ class Numeric extends ArgumentPluginBase { diff --git a/core/modules/views/lib/Drupal/views/Plugin/views/argument/Standard.php b/core/modules/views/lib/Drupal/views/Plugin/views/argument/Standard.php index 16a4448..b9b4195 100644 --- a/core/modules/views/lib/Drupal/views/Plugin/views/argument/Standard.php +++ b/core/modules/views/lib/Drupal/views/Plugin/views/argument/Standard.php @@ -7,16 +7,14 @@ namespace Drupal\views\Plugin\views\argument; -use Drupal\Component\Annotation\Plugin; +use Drupal\Component\Annotation\PluginID; /** * Default implementation of the base argument plugin. * * @ingroup views_argument_handlers * - * @Plugin( - * id = "standard" - * ) + * @PluginID("standard") */ class Standard extends ArgumentPluginBase { diff --git a/core/modules/views/lib/Drupal/views/Plugin/views/argument/String.php b/core/modules/views/lib/Drupal/views/Plugin/views/argument/String.php index 742784e..139bdd2 100644 --- a/core/modules/views/lib/Drupal/views/Plugin/views/argument/String.php +++ b/core/modules/views/lib/Drupal/views/Plugin/views/argument/String.php @@ -10,7 +10,7 @@ use Drupal\views\ViewExecutable; use Drupal\views\Plugin\views\display\DisplayPluginBase; use Drupal\views\ManyToOneHelper; -use Drupal\Component\Annotation\Plugin; +use Drupal\Component\Annotation\PluginID; /** * Basic argument handler to implement string arguments that may have length @@ -18,9 +18,7 @@ * * @ingroup views_argument_handlers * - * @Plugin( - * id = "string" - * ) + * @PluginID("string") */ class String extends ArgumentPluginBase { diff --git a/core/modules/views/lib/Drupal/views/Plugin/views/argument/WeekDate.php b/core/modules/views/lib/Drupal/views/Plugin/views/argument/WeekDate.php index 1f28593..086ff63 100644 --- a/core/modules/views/lib/Drupal/views/Plugin/views/argument/WeekDate.php +++ b/core/modules/views/lib/Drupal/views/Plugin/views/argument/WeekDate.php @@ -7,15 +7,12 @@ namespace Drupal\views\Plugin\views\argument; -use Drupal\Component\Annotation\Plugin; +use Drupal\Component\Annotation\PluginID; /** * Argument handler for a week. * - * @Plugin( - * id = "date_week", - * module = "views" - * ) + * @PluginID("date_week") */ class WeekDate extends Date { diff --git a/core/modules/views/lib/Drupal/views/Plugin/views/argument/YearDate.php b/core/modules/views/lib/Drupal/views/Plugin/views/argument/YearDate.php index 90b65bd..884b390 100644 --- a/core/modules/views/lib/Drupal/views/Plugin/views/argument/YearDate.php +++ b/core/modules/views/lib/Drupal/views/Plugin/views/argument/YearDate.php @@ -7,15 +7,12 @@ namespace Drupal\views\Plugin\views\argument; -use Drupal\Component\Annotation\Plugin; +use Drupal\Component\Annotation\PluginID; /** * Argument handler for a year (CCYY) * - * @Plugin( - * id = "date_year", - * module = "views" - * ) + * @PluginID("date_year") */ class YearDate extends Date { diff --git a/core/modules/views/lib/Drupal/views/Plugin/views/argument/YearMonthDate.php b/core/modules/views/lib/Drupal/views/Plugin/views/argument/YearMonthDate.php index e1ec3ff..a0588b5 100644 --- a/core/modules/views/lib/Drupal/views/Plugin/views/argument/YearMonthDate.php +++ b/core/modules/views/lib/Drupal/views/Plugin/views/argument/YearMonthDate.php @@ -7,15 +7,12 @@ namespace Drupal\views\Plugin\views\argument; -use Drupal\Component\Annotation\Plugin; +use Drupal\Component\Annotation\PluginID; /** * Argument handler for a year plus month (CCYYMM) * - * @Plugin( - * id = "date_year_month", - * module = "views" - * ) + * @PluginID("date_year_month") */ class YearMonthDate extends Date { diff --git a/core/modules/views/views.services.yml b/core/modules/views/views.services.yml index 031d637..7263f67 100644 --- a/core/modules/views/views.services.yml +++ b/core/modules/views/views.services.yml @@ -6,7 +6,7 @@ services: class: Drupal\views\Plugin\ViewsHandlerManager arguments: [area, '%container.namespaces%'] plugin.manager.views.argument: - class: Drupal\views\Plugin\ViewsPluginManager + class: Drupal\views\Plugin\ViewsHandlerManager arguments: [argument, '%container.namespaces%'] plugin.manager.views.argument_default: class: Drupal\views\Plugin\ViewsPluginManager