diff --git a/core/lib/Drupal/Component/Annotation/PluginID.php b/core/lib/Drupal/Component/Annotation/PluginID.php new file mode 100644 index 00000000000..dcb27aa8482 --- /dev/null +++ b/core/lib/Drupal/Component/Annotation/PluginID.php @@ -0,0 +1,35 @@ + $this->value, + ); + } + +} diff --git a/core/modules/action/lib/Drupal/action/Plugin/views/field/BulkForm.php b/core/modules/action/lib/Drupal/action/Plugin/views/field/BulkForm.php index a3329f7ffc4..83f93b97c32 100644 --- a/core/modules/action/lib/Drupal/action/Plugin/views/field/BulkForm.php +++ b/core/modules/action/lib/Drupal/action/Plugin/views/field/BulkForm.php @@ -7,16 +7,13 @@ namespace Drupal\action\Plugin\views\field; -use Drupal\Component\Annotation\Plugin; +use Drupal\Component\Annotation\PluginID; use Drupal\system\Plugin\views\field\BulkFormBase; /** * Defines a actions-based bulk operation form element. * - * @Plugin( - * id = "action_bulk_form", - * module = "action" - * ) + * @PluginID("action_bulk_form") */ class BulkForm extends BulkFormBase { 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 b97f15e5981..e4fe7648f04 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 @@ use Drupal\Component\Annotation\Plugin; * * @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/comment/lib/Drupal/comment/Plugin/views/field/Comment.php b/core/modules/comment/lib/Drupal/comment/Plugin/views/field/Comment.php index d9403369a0c..eda9ca40295 100644 --- a/core/modules/comment/lib/Drupal/comment/Plugin/views/field/Comment.php +++ b/core/modules/comment/lib/Drupal/comment/Plugin/views/field/Comment.php @@ -10,17 +10,14 @@ namespace Drupal\comment\Plugin\views\field; use Drupal\views\ViewExecutable; use Drupal\views\Plugin\views\display\DisplayPluginBase; use Drupal\views\Plugin\views\field\FieldPluginBase; -use Drupal\Component\Annotation\Plugin; +use Drupal\Component\Annotation\PluginID; /** * Field handler to allow linking to a comment. * * @ingroup views_field_handlers * - * @Plugin( - * id = "comment", - * module = "comment" - * ) + * @PluginID("comment") */ class Comment extends FieldPluginBase { diff --git a/core/modules/comment/lib/Drupal/comment/Plugin/views/field/Depth.php b/core/modules/comment/lib/Drupal/comment/Plugin/views/field/Depth.php index f90a028a4d2..5bb740568a0 100644 --- a/core/modules/comment/lib/Drupal/comment/Plugin/views/field/Depth.php +++ b/core/modules/comment/lib/Drupal/comment/Plugin/views/field/Depth.php @@ -7,7 +7,7 @@ namespace Drupal\comment\Plugin\views\field; -use Drupal\Component\Annotation\Plugin; +use Drupal\Component\Annotation\PluginID; use Drupal\views\Plugin\views\field\FieldPluginBase; /** @@ -15,10 +15,7 @@ use Drupal\views\Plugin\views\field\FieldPluginBase; * * @ingroup views_field_handlers * - * @Plugin( - * id = "comment_depth", - * module = "comment" - * ) + * @PluginID("comment_depth") */ class Depth extends FieldPluginBase { diff --git a/core/modules/comment/lib/Drupal/comment/Plugin/views/field/LastTimestamp.php b/core/modules/comment/lib/Drupal/comment/Plugin/views/field/LastTimestamp.php index ce7d03c87a0..35cbfec7300 100644 --- a/core/modules/comment/lib/Drupal/comment/Plugin/views/field/LastTimestamp.php +++ b/core/modules/comment/lib/Drupal/comment/Plugin/views/field/LastTimestamp.php @@ -10,17 +10,14 @@ namespace Drupal\comment\Plugin\views\field; use Drupal\views\Plugin\views\field\Date; use Drupal\views\Plugin\views\display\DisplayPluginBase; use Drupal\views\ViewExecutable; -use Drupal\Component\Annotation\Plugin; +use Drupal\Component\Annotation\PluginID; /** * Field handler to display the timestamp of a comment with the count of comments. * * @ingroup views_field_handlers * - * @Plugin( - * id = "comment_last_timestamp", - * module = "comment" - * ) + * @PluginID("comment_last_timestamp") */ class LastTimestamp extends Date { diff --git a/core/modules/comment/lib/Drupal/comment/Plugin/views/field/Link.php b/core/modules/comment/lib/Drupal/comment/Plugin/views/field/Link.php index d2a4d0da5ea..d9cd6722b30 100644 --- a/core/modules/comment/lib/Drupal/comment/Plugin/views/field/Link.php +++ b/core/modules/comment/lib/Drupal/comment/Plugin/views/field/Link.php @@ -8,17 +8,14 @@ namespace Drupal\comment\Plugin\views\field; use Drupal\views\Plugin\views\field\FieldPluginBase; -use Drupal\Component\Annotation\Plugin; +use Drupal\Component\Annotation\PluginID; /** * Base field handler to present a link. * * @ingroup views_field_handlers * - * @Plugin( - * id = "comment_link", - * module = "comment" - * ) + * @PluginID("comment_link") */ class Link extends FieldPluginBase { diff --git a/core/modules/comment/lib/Drupal/comment/Plugin/views/field/LinkApprove.php b/core/modules/comment/lib/Drupal/comment/Plugin/views/field/LinkApprove.php index e538e063cc8..d5469461243 100644 --- a/core/modules/comment/lib/Drupal/comment/Plugin/views/field/LinkApprove.php +++ b/core/modules/comment/lib/Drupal/comment/Plugin/views/field/LinkApprove.php @@ -7,17 +7,14 @@ namespace Drupal\comment\Plugin\views\field; -use Drupal\Component\Annotation\Plugin; +use Drupal\Component\Annotation\PluginID; /** * Provides a comment approve link. * * @ingroup views_field_handlers * - * @Plugin( - * id = "comment_link_approve", - * module = "comment" - * ) + * @PluginID("comment_link_approve") */ class LinkApprove extends Link { diff --git a/core/modules/comment/lib/Drupal/comment/Plugin/views/field/LinkDelete.php b/core/modules/comment/lib/Drupal/comment/Plugin/views/field/LinkDelete.php index 7851d9d55b8..38b79dafa65 100644 --- a/core/modules/comment/lib/Drupal/comment/Plugin/views/field/LinkDelete.php +++ b/core/modules/comment/lib/Drupal/comment/Plugin/views/field/LinkDelete.php @@ -7,17 +7,14 @@ namespace Drupal\comment\Plugin\views\field; -use Drupal\Component\Annotation\Plugin; +use Drupal\Component\Annotation\PluginID; /** * Field handler to present a link to delete a node. * * @ingroup views_field_handlers * - * @Plugin( - * id = "comment_link_delete", - * module = "comment" - * ) + * @PluginID("comment_link_delete") */ class LinkDelete extends Link { diff --git a/core/modules/comment/lib/Drupal/comment/Plugin/views/field/LinkEdit.php b/core/modules/comment/lib/Drupal/comment/Plugin/views/field/LinkEdit.php index c3407e491c7..b0df3494598 100644 --- a/core/modules/comment/lib/Drupal/comment/Plugin/views/field/LinkEdit.php +++ b/core/modules/comment/lib/Drupal/comment/Plugin/views/field/LinkEdit.php @@ -7,17 +7,14 @@ namespace Drupal\comment\Plugin\views\field; -use Drupal\Component\Annotation\Plugin; +use Drupal\Component\Annotation\PluginID; /** * Field handler to present a link node edit. * * @ingroup views_field_handlers * - * @Plugin( - * id = "comment_link_edit", - * module = "comment" - * ) + * @PluginID("comment_link_edit") */ class LinkEdit extends Link { diff --git a/core/modules/comment/lib/Drupal/comment/Plugin/views/field/LinkReply.php b/core/modules/comment/lib/Drupal/comment/Plugin/views/field/LinkReply.php index 400748db3be..2167c6b2fae 100644 --- a/core/modules/comment/lib/Drupal/comment/Plugin/views/field/LinkReply.php +++ b/core/modules/comment/lib/Drupal/comment/Plugin/views/field/LinkReply.php @@ -7,17 +7,14 @@ namespace Drupal\comment\Plugin\views\field; -use Drupal\Component\Annotation\Plugin; +use Drupal\Component\Annotation\PluginID; /** * Field handler to present a link to delete a node. * * @ingroup views_field_handlers * - * @Plugin( - * id = "comment_link_reply", - * module = "comment" - * ) + * @PluginID("comment_link_reply") */ class LinkReply extends Link { diff --git a/core/modules/comment/lib/Drupal/comment/Plugin/views/field/NcsLastCommentName.php b/core/modules/comment/lib/Drupal/comment/Plugin/views/field/NcsLastCommentName.php index e30b7ca3a23..db5bba9dd3c 100644 --- a/core/modules/comment/lib/Drupal/comment/Plugin/views/field/NcsLastCommentName.php +++ b/core/modules/comment/lib/Drupal/comment/Plugin/views/field/NcsLastCommentName.php @@ -8,17 +8,14 @@ namespace Drupal\comment\Plugin\views\field; use Drupal\views\Plugin\views\field\FieldPluginBase; -use Drupal\Component\Annotation\Plugin; +use Drupal\Component\Annotation\PluginID; /** * Field handler to present the name of the last comment poster. * * @ingroup views_field_handlers * - * @Plugin( - * id = "comment_ncs_last_comment_name", - * module = "comment" - * ) + * @PluginID("comment_ncs_last_comment_name") */ class NcsLastCommentName extends FieldPluginBase { diff --git a/core/modules/comment/lib/Drupal/comment/Plugin/views/field/NcsLastUpdated.php b/core/modules/comment/lib/Drupal/comment/Plugin/views/field/NcsLastUpdated.php index dd856082cf9..4c20cb3858e 100644 --- a/core/modules/comment/lib/Drupal/comment/Plugin/views/field/NcsLastUpdated.php +++ b/core/modules/comment/lib/Drupal/comment/Plugin/views/field/NcsLastUpdated.php @@ -8,17 +8,14 @@ namespace Drupal\comment\Plugin\views\field; use Drupal\views\Plugin\views\field\Date; -use Drupal\Component\Annotation\Plugin; +use Drupal\Component\Annotation\PluginID; /** * Field handler to display the newer of last comment / node updated. * * @ingroup views_field_handlers * - * @Plugin( - * id = "comment_ncs_last_updated", - * module = "comment" - * ) + * @PluginID("comment_ncs_last_updated") */ class NcsLastUpdated extends Date { diff --git a/core/modules/comment/lib/Drupal/comment/Plugin/views/field/NodeComment.php b/core/modules/comment/lib/Drupal/comment/Plugin/views/field/NodeComment.php index a88a3cf41c4..de113f083e9 100644 --- a/core/modules/comment/lib/Drupal/comment/Plugin/views/field/NodeComment.php +++ b/core/modules/comment/lib/Drupal/comment/Plugin/views/field/NodeComment.php @@ -8,17 +8,14 @@ namespace Drupal\comment\Plugin\views\field; use Drupal\views\Plugin\views\field\FieldPluginBase; -use Drupal\Component\Annotation\Plugin; +use Drupal\Component\Annotation\PluginID; /** * Display node comment status. * * @ingroup views_field_handlers * - * @Plugin( - * id = "node_comment", - * module = "comment" - * ) + * @PluginID("node_comment") */ class NodeComment extends FieldPluginBase { diff --git a/core/modules/comment/lib/Drupal/comment/Plugin/views/field/NodeLink.php b/core/modules/comment/lib/Drupal/comment/Plugin/views/field/NodeLink.php index b991cc9b1c0..fdfe8d985be 100644 --- a/core/modules/comment/lib/Drupal/comment/Plugin/views/field/NodeLink.php +++ b/core/modules/comment/lib/Drupal/comment/Plugin/views/field/NodeLink.php @@ -8,17 +8,14 @@ namespace Drupal\comment\Plugin\views\field; use Drupal\views\Plugin\views\field\FieldPluginBase; -use Drupal\Component\Annotation\Plugin; +use Drupal\Component\Annotation\PluginID; /** * Handler for showing comment module's node link. * * @ingroup views_field_handlers * - * @Plugin( - * id = "comment_node_link", - * module = "comment" - * ) + * @PluginID("comment_node_link") */ class NodeLink extends FieldPluginBase { diff --git a/core/modules/comment/lib/Drupal/comment/Plugin/views/field/NodeNewComments.php b/core/modules/comment/lib/Drupal/comment/Plugin/views/field/NodeNewComments.php index 0678775ab97..3f3f90375ac 100644 --- a/core/modules/comment/lib/Drupal/comment/Plugin/views/field/NodeNewComments.php +++ b/core/modules/comment/lib/Drupal/comment/Plugin/views/field/NodeNewComments.php @@ -10,17 +10,14 @@ namespace Drupal\comment\Plugin\views\field; use Drupal\views\Plugin\views\field\Numeric; use Drupal\views\Plugin\views\display\DisplayPluginBase; use Drupal\views\ViewExecutable; -use Drupal\Component\Annotation\Plugin; +use Drupal\Component\Annotation\PluginID; /** * Field handler to display the number of new comments. * * @ingroup views_field_handlers * - * @Plugin( - * id = "node_new_comments", - * module = "comment" - * ) + * @PluginID("node_new_comments") */ class NodeNewComments extends Numeric { diff --git a/core/modules/comment/lib/Drupal/comment/Plugin/views/field/Username.php b/core/modules/comment/lib/Drupal/comment/Plugin/views/field/Username.php index 4509de38774..05ceb8feefc 100644 --- a/core/modules/comment/lib/Drupal/comment/Plugin/views/field/Username.php +++ b/core/modules/comment/lib/Drupal/comment/Plugin/views/field/Username.php @@ -10,17 +10,14 @@ namespace Drupal\comment\Plugin\views\field; use Drupal\views\ViewExecutable; use Drupal\views\Plugin\views\display\DisplayPluginBase; use Drupal\views\Plugin\views\field\FieldPluginBase; -use Drupal\Component\Annotation\Plugin; +use Drupal\Component\Annotation\PluginID; /** * Field handler to allow linking to a user account or homepage. * * @ingroup views_field_handlers * - * @Plugin( - * id = "comment_username", - * module = "comment" - * ) + * @PluginID("comment_username") */ class Username extends FieldPluginBase { diff --git a/core/modules/comment/lib/Drupal/comment/Plugin/views/filter/NcsLastUpdated.php b/core/modules/comment/lib/Drupal/comment/Plugin/views/filter/NcsLastUpdated.php index bd0d70ad284..7562c9426bb 100644 --- a/core/modules/comment/lib/Drupal/comment/Plugin/views/filter/NcsLastUpdated.php +++ b/core/modules/comment/lib/Drupal/comment/Plugin/views/filter/NcsLastUpdated.php @@ -8,17 +8,14 @@ namespace Drupal\comment\Plugin\views\filter; use Drupal\views\Plugin\views\filter\Date; -use Drupal\Component\Annotation\Plugin; +use Drupal\Component\Annotation\PluginID; /** * Filter handler for the newer of last comment / node updated. * * @ingroup views_filter_handlers * - * @Plugin( - * id = "ncs_last_updated", - * module = "comment" - * ) + * @PluginID("ncs_last_updated") */ class NcsLastUpdated extends Date { diff --git a/core/modules/comment/lib/Drupal/comment/Plugin/views/filter/NodeComment.php b/core/modules/comment/lib/Drupal/comment/Plugin/views/filter/NodeComment.php index 30a0a7ad79b..e49c116e374 100644 --- a/core/modules/comment/lib/Drupal/comment/Plugin/views/filter/NodeComment.php +++ b/core/modules/comment/lib/Drupal/comment/Plugin/views/filter/NodeComment.php @@ -8,17 +8,14 @@ namespace Drupal\comment\Plugin\views\filter; use Drupal\views\Plugin\views\filter\InOperator; -use Drupal\Component\Annotation\Plugin; +use Drupal\Component\Annotation\PluginID; /** * Filter based on comment node status. * * @ingroup views_filter_handlers * - * @Plugin( - * id = "node_comment", - * module = "comment" - * ) + * @PluginID("node_comment") */ class NodeComment extends InOperator { diff --git a/core/modules/comment/lib/Drupal/comment/Plugin/views/filter/UserUid.php b/core/modules/comment/lib/Drupal/comment/Plugin/views/filter/UserUid.php index b56cd38196e..b1c83f89bbf 100644 --- a/core/modules/comment/lib/Drupal/comment/Plugin/views/filter/UserUid.php +++ b/core/modules/comment/lib/Drupal/comment/Plugin/views/filter/UserUid.php @@ -8,7 +8,7 @@ namespace Drupal\comment\Plugin\views\filter; use Drupal\views\Plugin\views\filter\FilterPluginBase; -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 @@ -16,10 +16,7 @@ use Drupal\Component\Annotation\Plugin; * * @ingroup views_filter_handlers * - * @Plugin( - * id = "comment_user_uid", - * module = "comment" - * ) + * @PluginID("comment_user_uid") */ class UserUid extends FilterPluginBase { diff --git a/core/modules/comment/lib/Drupal/comment/Plugin/views/sort/NcsLastCommentName.php b/core/modules/comment/lib/Drupal/comment/Plugin/views/sort/NcsLastCommentName.php index c7021b912b1..9e2c70e49c5 100644 --- a/core/modules/comment/lib/Drupal/comment/Plugin/views/sort/NcsLastCommentName.php +++ b/core/modules/comment/lib/Drupal/comment/Plugin/views/sort/NcsLastCommentName.php @@ -8,7 +8,7 @@ namespace Drupal\comment\Plugin\views\sort; use Drupal\views\Plugin\views\sort\SortPluginBase; -use Drupal\Component\Annotation\Plugin; +use Drupal\Component\Annotation\PluginID; /** * Sort handler to sort by last comment name which might be in 2 different @@ -16,10 +16,7 @@ use Drupal\Component\Annotation\Plugin; * * @ingroup views_sort_handlers * - * @Plugin( - * id = "comment_ncs_last_comment_name", - * module = "comment" - * ) + * @PluginID("comment_ncs_last_comment_name") */ class NcsLastCommentName extends SortPluginBase { diff --git a/core/modules/comment/lib/Drupal/comment/Plugin/views/sort/NcsLastUpdated.php b/core/modules/comment/lib/Drupal/comment/Plugin/views/sort/NcsLastUpdated.php index 3af22a9a86c..dfef21a2d93 100644 --- a/core/modules/comment/lib/Drupal/comment/Plugin/views/sort/NcsLastUpdated.php +++ b/core/modules/comment/lib/Drupal/comment/Plugin/views/sort/NcsLastUpdated.php @@ -8,17 +8,14 @@ namespace Drupal\comment\Plugin\views\sort; use Drupal\views\Plugin\views\sort\Date; -use Drupal\Component\Annotation\Plugin; +use Drupal\Component\Annotation\PluginID; /** * Sort handler for the newer of last comment / node updated. * * @ingroup views_sort_handlers * - * @Plugin( - * id = "ncs_last_updated", - * module = "comment" - * ) + * @PluginID("ncs_last_updated") */ class NcsLastUpdated extends Date { diff --git a/core/modules/comment/lib/Drupal/comment/Plugin/views/sort/Thread.php b/core/modules/comment/lib/Drupal/comment/Plugin/views/sort/Thread.php index 8d28815319c..1c0d1c5c11b 100644 --- a/core/modules/comment/lib/Drupal/comment/Plugin/views/sort/Thread.php +++ b/core/modules/comment/lib/Drupal/comment/Plugin/views/sort/Thread.php @@ -8,17 +8,14 @@ namespace Drupal\comment\Plugin\views\sort; use Drupal\views\Plugin\views\sort\SortPluginBase; -use Drupal\Component\Annotation\Plugin; +use Drupal\Component\Annotation\PluginID; /** * Sort handler for ordering by thread. * * @ingroup views_sort_handlers * - * @Plugin( - * id = "comment_thread", - * module = "comment" - * ) + * @PluginID("comment_thread") */ class Thread extends SortPluginBase { diff --git a/core/modules/contextual/lib/Drupal/contextual/Plugin/views/field/ContextualLinks.php b/core/modules/contextual/lib/Drupal/contextual/Plugin/views/field/ContextualLinks.php index 5ef7df0011c..86aa796204e 100644 --- a/core/modules/contextual/lib/Drupal/contextual/Plugin/views/field/ContextualLinks.php +++ b/core/modules/contextual/lib/Drupal/contextual/Plugin/views/field/ContextualLinks.php @@ -7,7 +7,7 @@ namespace Drupal\contextual\Plugin\views\field; -use Drupal\Component\Annotation\Plugin; +use Drupal\Component\Annotation\PluginID; use Drupal\views\Plugin\views\field\FieldPluginBase; /** @@ -15,10 +15,7 @@ use Drupal\views\Plugin\views\field\FieldPluginBase; * * @ingroup views_field_handlers * - * @Plugin( - * id = "contextual_links", - * module = "contextual" - * ) + * @PluginID("contextual_links") */ class ContextualLinks extends FieldPluginBase { 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 9409689457c..2176c9193f2 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 @@ namespace Drupal\field\Plugin\views\argument; 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 @@ use Drupal\Component\Annotation\Plugin; * * @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 daeb8acd3b8..ada688fe821 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 @@ namespace Drupal\field\Plugin\views\argument; 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 @@ use Drupal\Component\Annotation\Plugin; * * @ingroup views_argument_handlers * - * @Plugin( - * id = "field_list_string", - * module = "field" - * ) + * @PluginID("field_list_string") */ class ListString extends String { diff --git a/core/modules/field/lib/Drupal/field/Plugin/views/field/Field.php b/core/modules/field/lib/Drupal/field/Plugin/views/field/Field.php index c73260f0f96..4aff8f1ca07 100644 --- a/core/modules/field/lib/Drupal/field/Plugin/views/field/Field.php +++ b/core/modules/field/lib/Drupal/field/Plugin/views/field/Field.php @@ -11,7 +11,7 @@ use Drupal\Core\Entity\EntityInterface; use Drupal\views\ViewExecutable; use Drupal\views\Plugin\views\display\DisplayPluginBase; use Drupal\views\Plugin\views\field\FieldPluginBase; -use Drupal\Component\Annotation\Plugin; +use Drupal\Component\Annotation\PluginID; use Drupal\views\Views; /** @@ -19,10 +19,7 @@ use Drupal\views\Views; * * @ingroup views_field_handlers * - * @Plugin( - * id = "field", - * module = "field" - * ) + * @PluginID("field") */ class Field extends FieldPluginBase { diff --git a/core/modules/field/lib/Drupal/field/Plugin/views/filter/FieldList.php b/core/modules/field/lib/Drupal/field/Plugin/views/filter/FieldList.php index 8ef220cf51c..17e143b7ba2 100644 --- a/core/modules/field/lib/Drupal/field/Plugin/views/filter/FieldList.php +++ b/core/modules/field/lib/Drupal/field/Plugin/views/filter/FieldList.php @@ -8,17 +8,14 @@ namespace Drupal\field\Plugin\views\filter; use Drupal\views\Plugin\views\filter\ManyToOne; -use Drupal\Component\Annotation\Plugin; +use Drupal\Component\Annotation\PluginID; /** * Filter handler which uses list-fields as options. * * @ingroup views_filter_handlers * - * @Plugin( - * id = "field_list", - * module = "field" - * ) + * @PluginID("field_list") */ class FieldList extends ManyToOne { diff --git a/core/modules/field/lib/Drupal/field/Plugin/views/relationship/EntityReverse.php b/core/modules/field/lib/Drupal/field/Plugin/views/relationship/EntityReverse.php index e008c88c004..6ae211878bd 100644 --- a/core/modules/field/lib/Drupal/field/Plugin/views/relationship/EntityReverse.php +++ b/core/modules/field/lib/Drupal/field/Plugin/views/relationship/EntityReverse.php @@ -10,7 +10,7 @@ namespace Drupal\field\Plugin\views\relationship; use Drupal\views\ViewExecutable; use Drupal\views\Plugin\views\display\DisplayPluginBase; use Drupal\views\Plugin\views\relationship\RelationshipPluginBase; -use Drupal\Component\Annotation\Plugin; +use Drupal\Component\Annotation\PluginID; use Drupal\views\Views; /** @@ -18,10 +18,7 @@ use Drupal\views\Views; * * @ingroup views_relationship_handlers * - * @Plugin( - * id = "entity_reverse", - * module = "field" - * ) + * @PluginID("entity_reverse") */ class EntityReverse extends RelationshipPluginBase { 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 886bf339601..d0fb508650c 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 @@ use Drupal\views\Plugin\views\argument\Numeric; * * @ingroup views_argument_handlers * - * @Plugin( - * id = "file_fid", - * module = "file" - * ) + * @PluginID("file_fid") */ class Fid extends Numeric { diff --git a/core/modules/file/lib/Drupal/file/Plugin/views/field/Extension.php b/core/modules/file/lib/Drupal/file/Plugin/views/field/Extension.php index 65a0f9cc782..376793fe400 100644 --- a/core/modules/file/lib/Drupal/file/Plugin/views/field/Extension.php +++ b/core/modules/file/lib/Drupal/file/Plugin/views/field/Extension.php @@ -7,7 +7,7 @@ namespace Drupal\file\Plugin\views\field; -use Drupal\Component\Annotation\Plugin; +use Drupal\Component\Annotation\PluginID; use Drupal\views\Plugin\views\field\FieldPluginBase; /** @@ -15,10 +15,7 @@ use Drupal\views\Plugin\views\field\FieldPluginBase; * * @ingroup views_field_handlers * - * @Plugin( - * id = "file_extension", - * module = "file" - * ) + * @PluginID("file_extension") */ class Extension extends FieldPluginBase { diff --git a/core/modules/file/lib/Drupal/file/Plugin/views/field/File.php b/core/modules/file/lib/Drupal/file/Plugin/views/field/File.php index 2bd7a27492e..a64e8577f9c 100644 --- a/core/modules/file/lib/Drupal/file/Plugin/views/field/File.php +++ b/core/modules/file/lib/Drupal/file/Plugin/views/field/File.php @@ -9,7 +9,7 @@ namespace Drupal\file\Plugin\views\field; use Drupal\views\ViewExecutable; use Drupal\views\Plugin\views\display\DisplayPluginBase; -use Drupal\Component\Annotation\Plugin; +use Drupal\Component\Annotation\PluginID; use Drupal\views\Plugin\views\field\FieldPluginBase; /** @@ -17,10 +17,7 @@ use Drupal\views\Plugin\views\field\FieldPluginBase; * * @ingroup views_field_handlers * - * @Plugin( - * id = "file", - * module = "file" - * ) + * @PluginID("file") */ class File extends FieldPluginBase { diff --git a/core/modules/file/lib/Drupal/file/Plugin/views/field/FileMime.php b/core/modules/file/lib/Drupal/file/Plugin/views/field/FileMime.php index fd424c99dd3..a63c2d6bddd 100644 --- a/core/modules/file/lib/Drupal/file/Plugin/views/field/FileMime.php +++ b/core/modules/file/lib/Drupal/file/Plugin/views/field/FileMime.php @@ -7,17 +7,14 @@ namespace Drupal\file\Plugin\views\field; -use Drupal\Component\Annotation\Plugin; +use Drupal\Component\Annotation\PluginID; /** * Field handler to add rendering MIME type images as an option on the filemime field. * * @ingroup views_field_handlers * - * @Plugin( - * id = "file_filemime", - * module = "file" - * ) + * @PluginID("file_filemime") */ class FileMime extends File { diff --git a/core/modules/file/lib/Drupal/file/Plugin/views/field/Status.php b/core/modules/file/lib/Drupal/file/Plugin/views/field/Status.php index 56ba1df58b3..883602db843 100644 --- a/core/modules/file/lib/Drupal/file/Plugin/views/field/Status.php +++ b/core/modules/file/lib/Drupal/file/Plugin/views/field/Status.php @@ -7,7 +7,7 @@ namespace Drupal\file\Plugin\views\field; -use Drupal\Component\Annotation\Plugin; +use Drupal\Component\Annotation\PluginID; use Drupal\views\Plugin\views\field\FieldPluginBase; /** @@ -15,10 +15,7 @@ use Drupal\views\Plugin\views\field\FieldPluginBase; * * @ingroup views_field_handlers * - * @Plugin( - * id = "file_status", - * module = "file" - * ) + * @PluginID("file_status") */ class Status extends FieldPluginBase { diff --git a/core/modules/file/lib/Drupal/file/Plugin/views/field/Uri.php b/core/modules/file/lib/Drupal/file/Plugin/views/field/Uri.php index 91e71164703..4e5eb5f43c2 100644 --- a/core/modules/file/lib/Drupal/file/Plugin/views/field/Uri.php +++ b/core/modules/file/lib/Drupal/file/Plugin/views/field/Uri.php @@ -7,15 +7,12 @@ namespace Drupal\file\Plugin\views\field; -use Drupal\Component\Annotation\Plugin; +use Drupal\Component\Annotation\PluginID; /** * Field handler to add rendering file paths as file URLs instead of as internal file URIs. * - * @Plugin( - * id = "file_uri", - * module = "file" - * ) + * @PluginID("file_uri") */ class Uri extends File { diff --git a/core/modules/file/lib/Drupal/file/Plugin/views/filter/Status.php b/core/modules/file/lib/Drupal/file/Plugin/views/filter/Status.php index b6c7867daf1..20439fee114 100644 --- a/core/modules/file/lib/Drupal/file/Plugin/views/filter/Status.php +++ b/core/modules/file/lib/Drupal/file/Plugin/views/filter/Status.php @@ -7,7 +7,7 @@ namespace Drupal\file\Plugin\views\filter; -use Drupal\Component\Annotation\Plugin; +use Drupal\Component\Annotation\PluginID; use Drupal\views\Plugin\views\filter\InOperator; /** @@ -15,10 +15,7 @@ use Drupal\views\Plugin\views\filter\InOperator; * * @ingroup views_filter_handlers * - * @Plugin( - * id = "file_status", - * module = "file" - * ) + * @PluginID("file_status") */ class Status extends InOperator { diff --git a/core/modules/history/lib/Drupal/history/Plugin/views/field/HistoryUserTimestamp.php b/core/modules/history/lib/Drupal/history/Plugin/views/field/HistoryUserTimestamp.php index 028c9246e83..ccbba18add5 100644 --- a/core/modules/history/lib/Drupal/history/Plugin/views/field/HistoryUserTimestamp.php +++ b/core/modules/history/lib/Drupal/history/Plugin/views/field/HistoryUserTimestamp.php @@ -10,7 +10,7 @@ namespace Drupal\history\Plugin\views\field; use Drupal\views\ViewExecutable; use Drupal\views\Plugin\views\display\DisplayPluginBase; use Drupal\node\Plugin\views\field\Node; -use Drupal\Component\Annotation\Plugin; +use Drupal\Component\Annotation\PluginID; /** * Field handler to display the marker for new content. @@ -20,10 +20,7 @@ use Drupal\Component\Annotation\Plugin; * * @ingroup views_field_handlers * - * @Plugin( - * id = "history_user_timestamp", - * module = "history" - * ) + * @PluginID("history_user_timestamp") */ class HistoryUserTimestamp extends Node { diff --git a/core/modules/history/lib/Drupal/history/Plugin/views/filter/HistoryUserTimestamp.php b/core/modules/history/lib/Drupal/history/Plugin/views/filter/HistoryUserTimestamp.php index c76d375ff7b..7847ccccdbb 100644 --- a/core/modules/history/lib/Drupal/history/Plugin/views/filter/HistoryUserTimestamp.php +++ b/core/modules/history/lib/Drupal/history/Plugin/views/filter/HistoryUserTimestamp.php @@ -8,7 +8,7 @@ namespace Drupal\history\Plugin\views\filter; use Drupal\views\Plugin\views\filter\FilterPluginBase; -use Drupal\Component\Annotation\Plugin; +use Drupal\Component\Annotation\PluginID; /** * Filter for new content. @@ -18,10 +18,7 @@ use Drupal\Component\Annotation\Plugin; * * @ingroup views_filter_handlers * - * @Plugin( - * id = "history_user_timestamp", - * module = "history" - * ) + * @PluginID("history_user_timestamp") */ class HistoryUserTimestamp extends FilterPluginBase { 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 44ebbe20e26..a23e7c4810a 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/language/lib/Drupal/language/Plugin/views/field/LanguageField.php b/core/modules/language/lib/Drupal/language/Plugin/views/field/LanguageField.php index 3c2ca797509..bd10ef5bb1d 100644 --- a/core/modules/language/lib/Drupal/language/Plugin/views/field/LanguageField.php +++ b/core/modules/language/lib/Drupal/language/Plugin/views/field/LanguageField.php @@ -8,17 +8,14 @@ namespace Drupal\language\Plugin\views\field; use Drupal\views\Plugin\views\field\FieldPluginBase; -use Drupal\Component\Annotation\Plugin; +use Drupal\Component\Annotation\PluginID; /** * Defines a field handler to translate a language into its readable form. * * @ingroup views_field_handlers * - * @Plugin( - * id = "language", - * module = "language" - * ) + * @PluginID("language") */ class LanguageField extends FieldPluginBase { diff --git a/core/modules/language/lib/Drupal/language/Plugin/views/filter/LanguageFilter.php b/core/modules/language/lib/Drupal/language/Plugin/views/filter/LanguageFilter.php index 5a5da1b9c93..45311edc635 100644 --- a/core/modules/language/lib/Drupal/language/Plugin/views/filter/LanguageFilter.php +++ b/core/modules/language/lib/Drupal/language/Plugin/views/filter/LanguageFilter.php @@ -8,17 +8,14 @@ namespace Drupal\language\Plugin\views\filter; use Drupal\views\Plugin\views\filter\InOperator; -use Drupal\Component\Annotation\Plugin; +use Drupal\Component\Annotation\PluginID; /** * Provides filtering by language. * * @ingroup views_filter_handlers * - * @Plugin( - * id = "language", - * module = "language" - * ) + * @PluginID("language") */ class LanguageFilter extends InOperator { diff --git a/core/modules/node/lib/Drupal/node/Plugin/views/area/ListingEmpty.php b/core/modules/node/lib/Drupal/node/Plugin/views/area/ListingEmpty.php index acacb23d443..666cf2617fb 100644 --- a/core/modules/node/lib/Drupal/node/Plugin/views/area/ListingEmpty.php +++ b/core/modules/node/lib/Drupal/node/Plugin/views/area/ListingEmpty.php @@ -7,7 +7,7 @@ namespace Drupal\node\Plugin\views\area; -use Drupal\Component\Annotation\Plugin; +use Drupal\Component\Annotation\PluginID; use Drupal\views\Plugin\views\area\AreaPluginBase; /** @@ -15,10 +15,7 @@ use Drupal\views\Plugin\views\area\AreaPluginBase; * * @ingroup views_area_handlers * - * @Plugin( - * id = "node_listing_empty", - * module = "node" - * ) + * @PluginID("node_listing_empty") */ class ListingEmpty extends AreaPluginBase { 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 f19676b9371..4519778b522 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 00eb0a672db..e8eb0909bda 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 5630b037646..d4320243ef8 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 3136671c557..4e36279c725 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/node/lib/Drupal/node/Plugin/views/field/Language.php b/core/modules/node/lib/Drupal/node/Plugin/views/field/Language.php index 4d0ff3eb320..4fd253a6f70 100644 --- a/core/modules/node/lib/Drupal/node/Plugin/views/field/Language.php +++ b/core/modules/node/lib/Drupal/node/Plugin/views/field/Language.php @@ -8,17 +8,14 @@ namespace Drupal\node\Plugin\views\field; use Drupal\node\Plugin\views\field\Node; -use Drupal\Component\Annotation\Plugin; +use Drupal\Component\Annotation\PluginID; /** * Field handler to translate a language into its readable form. * * @ingroup views_field_handlers * - * @Plugin( - * id = "node_language", - * module = "node" - * ) + * @PluginID("node_language") */ class Language extends Node { diff --git a/core/modules/node/lib/Drupal/node/Plugin/views/field/Link.php b/core/modules/node/lib/Drupal/node/Plugin/views/field/Link.php index dc7769135c7..ace65a6d2ac 100644 --- a/core/modules/node/lib/Drupal/node/Plugin/views/field/Link.php +++ b/core/modules/node/lib/Drupal/node/Plugin/views/field/Link.php @@ -8,17 +8,14 @@ namespace Drupal\node\Plugin\views\field; use Drupal\views\Plugin\views\field\FieldPluginBase; -use Drupal\Component\Annotation\Plugin; +use Drupal\Component\Annotation\PluginID; /** * Field handler to present a link to the node. * * @ingroup views_field_handlers * - * @Plugin( - * id = "node_link", - * module = "node" - * ) + * @PluginID("node_link") */ class Link extends FieldPluginBase { diff --git a/core/modules/node/lib/Drupal/node/Plugin/views/field/LinkDelete.php b/core/modules/node/lib/Drupal/node/Plugin/views/field/LinkDelete.php index a1afd13c1fc..51cc3fea81b 100644 --- a/core/modules/node/lib/Drupal/node/Plugin/views/field/LinkDelete.php +++ b/core/modules/node/lib/Drupal/node/Plugin/views/field/LinkDelete.php @@ -8,17 +8,14 @@ namespace Drupal\node\Plugin\views\field; use Drupal\node\Plugin\views\field\Link; -use Drupal\Component\Annotation\Plugin; +use Drupal\Component\Annotation\PluginID; /** * Field handler to present a link to delete a node. * * @ingroup views_field_handlers * - * @Plugin( - * id = "node_link_delete", - * module = "node" - * ) + * @PluginID("node_link_delete") */ class LinkDelete extends Link { diff --git a/core/modules/node/lib/Drupal/node/Plugin/views/field/LinkEdit.php b/core/modules/node/lib/Drupal/node/Plugin/views/field/LinkEdit.php index 529244f73b4..2a69d13097e 100644 --- a/core/modules/node/lib/Drupal/node/Plugin/views/field/LinkEdit.php +++ b/core/modules/node/lib/Drupal/node/Plugin/views/field/LinkEdit.php @@ -8,17 +8,14 @@ namespace Drupal\node\Plugin\views\field; use Drupal\node\Plugin\views\field\Link; -use Drupal\Component\Annotation\Plugin; +use Drupal\Component\Annotation\PluginID; /** * Field handler to present a link node edit. * * @ingroup views_field_handlers * - * @Plugin( - * id = "node_link_edit", - * module = "node" - * ) + * @PluginID("node_link_edit") */ class LinkEdit extends Link { diff --git a/core/modules/node/lib/Drupal/node/Plugin/views/field/Node.php b/core/modules/node/lib/Drupal/node/Plugin/views/field/Node.php index 3b0683b33f3..124d9c817ad 100644 --- a/core/modules/node/lib/Drupal/node/Plugin/views/field/Node.php +++ b/core/modules/node/lib/Drupal/node/Plugin/views/field/Node.php @@ -10,7 +10,7 @@ namespace Drupal\node\Plugin\views\field; use Drupal\views\ViewExecutable; use Drupal\views\Plugin\views\display\DisplayPluginBase; use Drupal\views\Plugin\views\field\FieldPluginBase; -use Drupal\Component\Annotation\Plugin; +use Drupal\Component\Annotation\PluginID; /** * Field handler to provide simple renderer that allows linking to a node. @@ -19,10 +19,7 @@ use Drupal\Component\Annotation\Plugin; * * @ingroup views_field_handlers * - * @Plugin( - * id = "node", - * module = "node" - * ) + * @PluginID("node") */ class Node extends FieldPluginBase { diff --git a/core/modules/node/lib/Drupal/node/Plugin/views/field/Path.php b/core/modules/node/lib/Drupal/node/Plugin/views/field/Path.php index 366ded251c0..3e41bc7bfa1 100644 --- a/core/modules/node/lib/Drupal/node/Plugin/views/field/Path.php +++ b/core/modules/node/lib/Drupal/node/Plugin/views/field/Path.php @@ -10,17 +10,14 @@ namespace Drupal\node\Plugin\views\field; use Drupal\views\Plugin\views\field\FieldPluginBase; use Drupal\views\Plugin\views\display\DisplayPluginBase; use Drupal\views\ViewExecutable; -use Drupal\Component\Annotation\Plugin; +use Drupal\Component\Annotation\PluginID; /** * Field handler to present the path to the node. * * @ingroup views_field_handlers * - * @Plugin( - * id = "node_path", - * module = "node" - * ) + * @PluginID("node_path") */ class Path extends FieldPluginBase { diff --git a/core/modules/node/lib/Drupal/node/Plugin/views/field/Revision.php b/core/modules/node/lib/Drupal/node/Plugin/views/field/Revision.php index f493a54286a..8d9d285c86f 100644 --- a/core/modules/node/lib/Drupal/node/Plugin/views/field/Revision.php +++ b/core/modules/node/lib/Drupal/node/Plugin/views/field/Revision.php @@ -10,17 +10,14 @@ namespace Drupal\node\Plugin\views\field; use Drupal\views\ViewExecutable; use Drupal\views\Plugin\views\display\DisplayPluginBase; use Drupal\node\Plugin\views\field\Node; -use Drupal\Component\Annotation\Plugin; +use Drupal\Component\Annotation\PluginID; /** * A basic node_revision handler. * * @ingroup views_field_handlers * - * @Plugin( - * id = "node_revision", - * module = "node" - * ) + * @PluginID("node_revision") */ class Revision extends Node { diff --git a/core/modules/node/lib/Drupal/node/Plugin/views/field/RevisionLink.php b/core/modules/node/lib/Drupal/node/Plugin/views/field/RevisionLink.php index 24cee3d1feb..758af765e80 100644 --- a/core/modules/node/lib/Drupal/node/Plugin/views/field/RevisionLink.php +++ b/core/modules/node/lib/Drupal/node/Plugin/views/field/RevisionLink.php @@ -10,17 +10,14 @@ namespace Drupal\node\Plugin\views\field; use Drupal\node\Plugin\views\field\Link; use Drupal\views\Plugin\views\display\DisplayPluginBase; use Drupal\views\ViewExecutable; -use Drupal\Component\Annotation\Plugin; +use Drupal\Component\Annotation\PluginID; /** * Field handler to present a link to a node revision. * * @ingroup views_field_handlers * - * @Plugin( - * id = "node_revision_link", - * module = "node" - * ) + * @PluginID("node_revision_link") */ class RevisionLink extends Link { diff --git a/core/modules/node/lib/Drupal/node/Plugin/views/field/RevisionLinkDelete.php b/core/modules/node/lib/Drupal/node/Plugin/views/field/RevisionLinkDelete.php index 4096ad9c05c..2d5aee70542 100644 --- a/core/modules/node/lib/Drupal/node/Plugin/views/field/RevisionLinkDelete.php +++ b/core/modules/node/lib/Drupal/node/Plugin/views/field/RevisionLinkDelete.php @@ -8,17 +8,14 @@ namespace Drupal\node\Plugin\views\field; use Drupal\node\Plugin\views\field\RevisionLink; -use Drupal\Component\Annotation\Plugin; +use Drupal\Component\Annotation\PluginID; /** * Field handler to present link to delete a node revision. * * @ingroup views_field_handlers * - * @Plugin( - * id = "node_revision_link_delete", - * module = "node" - * ) + * @PluginID("node_revision_link_delete") */ class RevisionLinkDelete extends RevisionLink { diff --git a/core/modules/node/lib/Drupal/node/Plugin/views/field/RevisionLinkRevert.php b/core/modules/node/lib/Drupal/node/Plugin/views/field/RevisionLinkRevert.php index bb5bc3765f1..537857ee0ef 100644 --- a/core/modules/node/lib/Drupal/node/Plugin/views/field/RevisionLinkRevert.php +++ b/core/modules/node/lib/Drupal/node/Plugin/views/field/RevisionLinkRevert.php @@ -8,17 +8,14 @@ namespace Drupal\node\Plugin\views\field; use Drupal\node\Plugin\views\field\RevisionLink; -use Drupal\Component\Annotation\Plugin; +use Drupal\Component\Annotation\PluginID; /** * Field handler to present a link to revert a node to a revision. * * @ingroup views_field_handlers * - * @Plugin( - * id = "node_revision_link_revert", - * module = "node" - * ) + * @PluginID("node_revision_link_revert") */ class RevisionLinkRevert extends RevisionLink { diff --git a/core/modules/node/lib/Drupal/node/Plugin/views/field/Type.php b/core/modules/node/lib/Drupal/node/Plugin/views/field/Type.php index 94955a10a3e..f29135db887 100644 --- a/core/modules/node/lib/Drupal/node/Plugin/views/field/Type.php +++ b/core/modules/node/lib/Drupal/node/Plugin/views/field/Type.php @@ -8,17 +8,14 @@ namespace Drupal\node\Plugin\views\field; use Drupal\node\Plugin\views\field\Node; -use Drupal\Component\Annotation\Plugin; +use Drupal\Component\Annotation\PluginID; /** * Field handler to translate a node type into its readable form. * * @ingroup views_field_handlers * - * @Plugin( - * id = "node_type", - * module = "node" - * ) + * @PluginID("node_type") */ class Type extends Node { diff --git a/core/modules/node/lib/Drupal/node/Plugin/views/filter/Access.php b/core/modules/node/lib/Drupal/node/Plugin/views/filter/Access.php index eef38a43934..f9e66b9e7ee 100644 --- a/core/modules/node/lib/Drupal/node/Plugin/views/filter/Access.php +++ b/core/modules/node/lib/Drupal/node/Plugin/views/filter/Access.php @@ -8,17 +8,14 @@ namespace Drupal\node\Plugin\views\filter; use Drupal\views\Plugin\views\filter\FilterPluginBase; -use Drupal\Component\Annotation\Plugin; +use Drupal\Component\Annotation\PluginID; /** * Filter by node_access records. * * @ingroup views_filter_handlers * - * @Plugin( - * id = "node_access", - * module = "node" - * ) + * @PluginID("node_access") */ class Access extends FilterPluginBase { diff --git a/core/modules/node/lib/Drupal/node/Plugin/views/filter/Status.php b/core/modules/node/lib/Drupal/node/Plugin/views/filter/Status.php index 6e284e087ba..3ae361e867c 100644 --- a/core/modules/node/lib/Drupal/node/Plugin/views/filter/Status.php +++ b/core/modules/node/lib/Drupal/node/Plugin/views/filter/Status.php @@ -8,17 +8,14 @@ namespace Drupal\node\Plugin\views\filter; use Drupal\views\Plugin\views\filter\FilterPluginBase; -use Drupal\Component\Annotation\Plugin; +use Drupal\Component\Annotation\PluginID; /** * Filter by published status. * * @ingroup views_filter_handlers * - * @Plugin( - * id = "node_status", - * module = "node" - * ) + * @PluginID("node_status") */ class Status extends FilterPluginBase { diff --git a/core/modules/node/lib/Drupal/node/Plugin/views/filter/UidRevision.php b/core/modules/node/lib/Drupal/node/Plugin/views/filter/UidRevision.php index 8a4cb5f4bd9..9ed9fe38f74 100644 --- a/core/modules/node/lib/Drupal/node/Plugin/views/filter/UidRevision.php +++ b/core/modules/node/lib/Drupal/node/Plugin/views/filter/UidRevision.php @@ -8,17 +8,14 @@ namespace Drupal\node\Plugin\views\filter; use Drupal\user\Plugin\views\filter\Name; -use Drupal\Component\Annotation\Plugin; +use Drupal\Component\Annotation\PluginID; /** * Filter handler to check for revisions a certain user has created. * * @ingroup views_filter_handlers * - * @Plugin( - * id = "node_uid_revision", - * module = "node" - * ) + * @PluginID("node_uid_revision") */ class UidRevision extends Name { 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 354b0c1e672..0f4f4b58ff4 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/search/lib/Drupal/search/Plugin/views/field/Score.php b/core/modules/search/lib/Drupal/search/Plugin/views/field/Score.php index 4f7d6bf178f..26e28f1dde8 100644 --- a/core/modules/search/lib/Drupal/search/Plugin/views/field/Score.php +++ b/core/modules/search/lib/Drupal/search/Plugin/views/field/Score.php @@ -8,17 +8,14 @@ namespace Drupal\search\Plugin\views\field; use Drupal\views\Plugin\views\field\Numeric; -use Drupal\Component\Annotation\Plugin; +use Drupal\Component\Annotation\PluginID; /** * Field handler to provide simple renderer that allows linking to a node. * * @ingroup views_field_handlers * - * @Plugin( - * id = "search_score", - * module = "search" - * ) + * @PluginID("search_score") */ class Score extends Numeric { diff --git a/core/modules/search/lib/Drupal/search/Plugin/views/filter/Search.php b/core/modules/search/lib/Drupal/search/Plugin/views/filter/Search.php index 3c961b60aec..afb7724affa 100644 --- a/core/modules/search/lib/Drupal/search/Plugin/views/filter/Search.php +++ b/core/modules/search/lib/Drupal/search/Plugin/views/filter/Search.php @@ -9,17 +9,14 @@ namespace Drupal\search\Plugin\views\filter; use Drupal\search\SearchQuery; use Drupal\views\Plugin\views\filter\FilterPluginBase; -use Drupal\Component\Annotation\Plugin; +use Drupal\Component\Annotation\PluginID; /** * Field handler to provide simple renderer that allows linking to a node. * * @ingroup views_filter_handlers * - * @Plugin( - * id = "search", - * module = "search" - * ) + * @PluginID("search") */ class Search extends FilterPluginBase { diff --git a/core/modules/search/lib/Drupal/search/Plugin/views/sort/Score.php b/core/modules/search/lib/Drupal/search/Plugin/views/sort/Score.php index 7ce047e8165..c547d0e8f87 100644 --- a/core/modules/search/lib/Drupal/search/Plugin/views/sort/Score.php +++ b/core/modules/search/lib/Drupal/search/Plugin/views/sort/Score.php @@ -8,17 +8,14 @@ namespace Drupal\search\Plugin\views\sort; use Drupal\views\Plugin\views\sort\SortPluginBase; -use Drupal\Component\Annotation\Plugin; +use Drupal\Component\Annotation\PluginID; /** * Field handler to provide simple renderer that allows linking to a node. * * @ingroup views_sort_handlers * - * @Plugin( - * id = "search_score", - * module = "search" - * ) + * @PluginID("search_score") */ class Score extends SortPluginBase { 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 0cbcadd7efd..f51a5ce778e 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 @@ use Drupal\views\Plugin\views\argument\ManyToOne; * * @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 c43c69ebdd4..a08190c0e0c 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 @@ use Drupal\Component\Annotation\Plugin; * * @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 c8aecf0ff7b..db159d73e1b 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 @@ use Drupal\Component\Annotation\Plugin; * * @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 310622225ca..3a132ddeda2 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 c036ed5b28f..618ddfdc542 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 @@ use Drupal\views\Plugin\views\argument\Numeric; * * @ingroup views_argument_handlers * - * @Plugin( - * id = "vocabulary_vid", - * module = "taxonomy" - * ) + * @PluginID("vocabulary_vid") */ class VocabularyVid extends Numeric { diff --git a/core/modules/taxonomy/lib/Drupal/taxonomy/Plugin/views/field/Language.php b/core/modules/taxonomy/lib/Drupal/taxonomy/Plugin/views/field/Language.php index 9dc6f68d458..7131fefe04c 100644 --- a/core/modules/taxonomy/lib/Drupal/taxonomy/Plugin/views/field/Language.php +++ b/core/modules/taxonomy/lib/Drupal/taxonomy/Plugin/views/field/Language.php @@ -7,14 +7,12 @@ namespace Drupal\taxonomy\Plugin\views\field; -use Drupal\Component\Annotation\Plugin; +use Drupal\Component\Annotation\PluginID; /** * Field handler to show the language of a taxonomy term. * - * @Plugin( - * id = "taxonomy_term_language" - * ) + * @PluginID("taxonomy_term_language") */ class Language extends Taxonomy { diff --git a/core/modules/taxonomy/lib/Drupal/taxonomy/Plugin/views/field/LinkEdit.php b/core/modules/taxonomy/lib/Drupal/taxonomy/Plugin/views/field/LinkEdit.php index 2868e51f081..64225c0ddc3 100644 --- a/core/modules/taxonomy/lib/Drupal/taxonomy/Plugin/views/field/LinkEdit.php +++ b/core/modules/taxonomy/lib/Drupal/taxonomy/Plugin/views/field/LinkEdit.php @@ -10,17 +10,14 @@ namespace Drupal\taxonomy\Plugin\views\field; use Drupal\views\Plugin\views\field\FieldPluginBase; use Drupal\views\Plugin\views\display\DisplayPluginBase; use Drupal\views\ViewExecutable; -use Drupal\Component\Annotation\Plugin; +use Drupal\Component\Annotation\PluginID; /** * Field handler to present a term edit link. * * @ingroup views_field_handlers * - * @Plugin( - * id = "term_link_edit", - * module = "taxonomy" - * ) + * @PluginID("term_link_edit") */ class LinkEdit extends FieldPluginBase { diff --git a/core/modules/taxonomy/lib/Drupal/taxonomy/Plugin/views/field/Taxonomy.php b/core/modules/taxonomy/lib/Drupal/taxonomy/Plugin/views/field/Taxonomy.php index ee885fd63cd..9d046486713 100644 --- a/core/modules/taxonomy/lib/Drupal/taxonomy/Plugin/views/field/Taxonomy.php +++ b/core/modules/taxonomy/lib/Drupal/taxonomy/Plugin/views/field/Taxonomy.php @@ -10,7 +10,7 @@ namespace Drupal\taxonomy\Plugin\views\field; use Drupal\views\Plugin\views\field\FieldPluginBase; use Drupal\views\Plugin\views\display\DisplayPluginBase; use Drupal\views\ViewExecutable; -use Drupal\Component\Annotation\Plugin; +use Drupal\Component\Annotation\PluginID; /** * Field handler to provide simple renderer that allows linking to a taxonomy @@ -20,10 +20,7 @@ use Drupal\Component\Annotation\Plugin; * * @ingroup views_field_handlers * - * @Plugin( - * id = "taxonomy", - * module = "taxonomy" - * ) + * @PluginID("taxonomy") */ class Taxonomy extends FieldPluginBase { diff --git a/core/modules/taxonomy/lib/Drupal/taxonomy/Plugin/views/field/TaxonomyIndexTid.php b/core/modules/taxonomy/lib/Drupal/taxonomy/Plugin/views/field/TaxonomyIndexTid.php index 9aefbec98ed..2880252b337 100644 --- a/core/modules/taxonomy/lib/Drupal/taxonomy/Plugin/views/field/TaxonomyIndexTid.php +++ b/core/modules/taxonomy/lib/Drupal/taxonomy/Plugin/views/field/TaxonomyIndexTid.php @@ -10,17 +10,14 @@ namespace Drupal\taxonomy\Plugin\views\field; use Drupal\views\ViewExecutable; use Drupal\views\Plugin\views\display\DisplayPluginBase; use Drupal\views\Plugin\views\field\PrerenderList; -use Drupal\Component\Annotation\Plugin; +use Drupal\Component\Annotation\PluginID; /** * Field handler to display all taxonomy terms of a node. * * @ingroup views_field_handlers * - * @Plugin( - * id = "taxonomy_index_tid", - * module = "taxonomy" - * ) + * @PluginID("taxonomy_index_tid") */ class TaxonomyIndexTid extends PrerenderList { diff --git a/core/modules/taxonomy/lib/Drupal/taxonomy/Plugin/views/filter/TaxonomyIndexTid.php b/core/modules/taxonomy/lib/Drupal/taxonomy/Plugin/views/filter/TaxonomyIndexTid.php index 856254ab30e..f485ac692c8 100644 --- a/core/modules/taxonomy/lib/Drupal/taxonomy/Plugin/views/filter/TaxonomyIndexTid.php +++ b/core/modules/taxonomy/lib/Drupal/taxonomy/Plugin/views/filter/TaxonomyIndexTid.php @@ -9,7 +9,7 @@ namespace Drupal\taxonomy\Plugin\views\filter; use Drupal\views\ViewExecutable; use Drupal\views\Plugin\views\display\DisplayPluginBase; -use Drupal\Component\Annotation\Plugin; +use Drupal\Component\Annotation\PluginID; use Drupal\views\Plugin\views\filter\ManyToOne; /** @@ -17,10 +17,7 @@ use Drupal\views\Plugin\views\filter\ManyToOne; * * @ingroup views_filter_handlers * - * @Plugin( - * id = "taxonomy_index_tid", - * module = "taxonomy" - * ) + * @PluginID("taxonomy_index_tid") */ class TaxonomyIndexTid extends ManyToOne { diff --git a/core/modules/taxonomy/lib/Drupal/taxonomy/Plugin/views/filter/TaxonomyIndexTidDepth.php b/core/modules/taxonomy/lib/Drupal/taxonomy/Plugin/views/filter/TaxonomyIndexTidDepth.php index 6329e850f96..4ceb4824ba3 100644 --- a/core/modules/taxonomy/lib/Drupal/taxonomy/Plugin/views/filter/TaxonomyIndexTidDepth.php +++ b/core/modules/taxonomy/lib/Drupal/taxonomy/Plugin/views/filter/TaxonomyIndexTidDepth.php @@ -7,7 +7,7 @@ namespace Drupal\taxonomy\Plugin\views\filter; -use Drupal\Component\Annotation\Plugin; +use Drupal\Component\Annotation\PluginID; /** * Filter handler for taxonomy terms with depth. @@ -17,10 +17,7 @@ use Drupal\Component\Annotation\Plugin; * * @ingroup views_filter_handlers * - * @Plugin( - * id = "taxonomy_index_tid_depth", - * module = "taxonomy" - * ) + * @PluginID("taxonomy_index_tid_depth") */ class TaxonomyIndexTidDepth extends TaxonomyIndexTid { diff --git a/core/modules/taxonomy/lib/Drupal/taxonomy/Plugin/views/relationship/NodeTermData.php b/core/modules/taxonomy/lib/Drupal/taxonomy/Plugin/views/relationship/NodeTermData.php index 91d78ea0a92..f365c3ad123 100644 --- a/core/modules/taxonomy/lib/Drupal/taxonomy/Plugin/views/relationship/NodeTermData.php +++ b/core/modules/taxonomy/lib/Drupal/taxonomy/Plugin/views/relationship/NodeTermData.php @@ -10,17 +10,14 @@ namespace Drupal\taxonomy\Plugin\views\relationship; use Drupal\views\ViewExecutable; use Drupal\views\Plugin\views\display\DisplayPluginBase; use Drupal\views\Plugin\views\relationship\RelationshipPluginBase; -use Drupal\Component\Annotation\Plugin; +use Drupal\Component\Annotation\PluginID; /** * Relationship handler to return the taxonomy terms of nodes. * * @ingroup views_relationship_handlers * - * @Plugin( - * id = "node_term_data", - * module = "taxonomy" - * ) + * @PluginID("node_term_data") */ class NodeTermData extends RelationshipPluginBase { diff --git a/core/modules/translation_entity/lib/Drupal/translation_entity/Plugin/views/field/TranslationLink.php b/core/modules/translation_entity/lib/Drupal/translation_entity/Plugin/views/field/TranslationLink.php index 897c5381841..618b6aeaf7b 100644 --- a/core/modules/translation_entity/lib/Drupal/translation_entity/Plugin/views/field/TranslationLink.php +++ b/core/modules/translation_entity/lib/Drupal/translation_entity/Plugin/views/field/TranslationLink.php @@ -8,7 +8,7 @@ namespace Drupal\translation_entity\Plugin\views\field; use Drupal\views\Plugin\views\field\FieldPluginBase; -use Drupal\Component\Annotation\Plugin; +use Drupal\Component\Annotation\PluginID; use Drupal\Core\Entity\EntityInterface; /** @@ -16,10 +16,7 @@ use Drupal\Core\Entity\EntityInterface; * * @ingroup views_field_handlers * - * @Plugin( - * id = "translation_entity_link", - * module = "translation_entity" - * ) + * @PluginID("translation_entity_link") */ class TranslationLink extends FieldPluginBase { 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 c2fdf2afb6e..bbef57ee9cb 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 @@ use Drupal\views\Plugin\views\argument\ManyToOne; * * @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 bbcbccf0d66..82c5b75f427 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 @@ use Drupal\views\Plugin\views\argument\Numeric; * * @ingroup views_argument_handlers * - * @Plugin( - * id = "user_uid", - * module = "user" - * ) + * @PluginID("user_uid") */ class Uid extends Numeric { diff --git a/core/modules/user/lib/Drupal/user/Plugin/views/field/Language.php b/core/modules/user/lib/Drupal/user/Plugin/views/field/Language.php index d0ca31affcd..ced49f0a5fc 100644 --- a/core/modules/user/lib/Drupal/user/Plugin/views/field/Language.php +++ b/core/modules/user/lib/Drupal/user/Plugin/views/field/Language.php @@ -7,17 +7,14 @@ namespace Drupal\user\Plugin\views\field; -use Drupal\Component\Annotation\Plugin; +use Drupal\Component\Annotation\PluginID; /** * Views field handler for user language. * * @ingroup views_field_handlers * - * @Plugin( - * id = "user_language", - * module = "user" - * ) + * @PluginID("user_language") */ class Language extends User { diff --git a/core/modules/user/lib/Drupal/user/Plugin/views/field/Link.php b/core/modules/user/lib/Drupal/user/Plugin/views/field/Link.php index 6264824f12d..39b2a9b82f8 100644 --- a/core/modules/user/lib/Drupal/user/Plugin/views/field/Link.php +++ b/core/modules/user/lib/Drupal/user/Plugin/views/field/Link.php @@ -11,17 +11,14 @@ use Drupal\views\Plugin\views\field\FieldPluginBase; use Drupal\views\Plugin\views\display\DisplayPluginBase; use Drupal\views\ViewExecutable; use Drupal\Core\Entity\EntityInterface; -use Drupal\Component\Annotation\Plugin; +use Drupal\Component\Annotation\PluginID; /** * Field handler to present a link to the user. * * @ingroup views_field_handlers * - * @Plugin( - * id = "user_link", - * module = "user" - * ) + * @PluginID("user_link") */ class Link extends FieldPluginBase { diff --git a/core/modules/user/lib/Drupal/user/Plugin/views/field/LinkCancel.php b/core/modules/user/lib/Drupal/user/Plugin/views/field/LinkCancel.php index 97b49b80196..b55e0c90a25 100644 --- a/core/modules/user/lib/Drupal/user/Plugin/views/field/LinkCancel.php +++ b/core/modules/user/lib/Drupal/user/Plugin/views/field/LinkCancel.php @@ -8,17 +8,14 @@ namespace Drupal\user\Plugin\views\field; use Drupal\Core\Entity\EntityInterface; -use Drupal\Component\Annotation\Plugin; +use Drupal\Component\Annotation\PluginID; /** * Field handler to present a link to user cancel. * * @ingroup views_field_handlers * - * @Plugin( - * id = "user_link_cancel", - * module = "user" - * ) + * @PluginID("user_link_cancel") */ class LinkCancel extends Link { diff --git a/core/modules/user/lib/Drupal/user/Plugin/views/field/LinkEdit.php b/core/modules/user/lib/Drupal/user/Plugin/views/field/LinkEdit.php index b50b0da42fe..e7f63bede79 100644 --- a/core/modules/user/lib/Drupal/user/Plugin/views/field/LinkEdit.php +++ b/core/modules/user/lib/Drupal/user/Plugin/views/field/LinkEdit.php @@ -8,17 +8,14 @@ namespace Drupal\user\Plugin\views\field; use Drupal\Core\Entity\EntityInterface; -use Drupal\Component\Annotation\Plugin; +use Drupal\Component\Annotation\PluginID; /** * Field handler to present a link to user edit. * * @ingroup views_field_handlers * - * @Plugin( - * id = "user_link_edit", - * module = "user" - * ) + * @PluginID("user_link_edit") */ class LinkEdit extends Link { diff --git a/core/modules/user/lib/Drupal/user/Plugin/views/field/Mail.php b/core/modules/user/lib/Drupal/user/Plugin/views/field/Mail.php index 7c4aec170d9..5598b18d843 100644 --- a/core/modules/user/lib/Drupal/user/Plugin/views/field/Mail.php +++ b/core/modules/user/lib/Drupal/user/Plugin/views/field/Mail.php @@ -7,7 +7,7 @@ namespace Drupal\user\Plugin\views\field; -use Drupal\Component\Annotation\Plugin; +use Drupal\Component\Annotation\PluginID; /** /** @@ -15,10 +15,7 @@ use Drupal\Component\Annotation\Plugin; * * @ingroup views_field_handlers * - * @Plugin( - * id = "user_mail", - * module = "user" - * ) + * @PluginID("user_mail") */ class Mail extends User { diff --git a/core/modules/user/lib/Drupal/user/Plugin/views/field/Name.php b/core/modules/user/lib/Drupal/user/Plugin/views/field/Name.php index 3401f6bdfb2..33e274c84c5 100644 --- a/core/modules/user/lib/Drupal/user/Plugin/views/field/Name.php +++ b/core/modules/user/lib/Drupal/user/Plugin/views/field/Name.php @@ -9,7 +9,7 @@ namespace Drupal\user\Plugin\views\field; use Drupal\user\Plugin\views\field\User; use Drupal\views\Plugin\views\display\DisplayPluginBase; -use Drupal\Component\Annotation\Plugin; +use Drupal\Component\Annotation\PluginID; use Drupal\views\ViewExecutable; /** @@ -17,10 +17,7 @@ use Drupal\views\ViewExecutable; * * @ingroup views_field_handlers * - * @Plugin( - * id = "user_name", - * module = "user" - * ) + * @PluginID("user_name") */ class Name extends User { diff --git a/core/modules/user/lib/Drupal/user/Plugin/views/field/Permissions.php b/core/modules/user/lib/Drupal/user/Plugin/views/field/Permissions.php index 7688c84ceff..7aa22fed394 100644 --- a/core/modules/user/lib/Drupal/user/Plugin/views/field/Permissions.php +++ b/core/modules/user/lib/Drupal/user/Plugin/views/field/Permissions.php @@ -7,7 +7,7 @@ namespace Drupal\user\Plugin\views\field; -use Drupal\Component\Annotation\Plugin; +use Drupal\Component\Annotation\PluginID; use Drupal\views\Plugin\views\display\DisplayPluginBase; use Drupal\views\ViewExecutable; use Drupal\views\Plugin\views\field\PrerenderList; @@ -17,10 +17,7 @@ use Drupal\views\Plugin\views\field\PrerenderList; * * @ingroup views_field_handlers * - * @Plugin( - * id = "user_permissions", - * module = "user" - * ) + * @PluginID("user_permissions") */ class Permissions extends PrerenderList { diff --git a/core/modules/user/lib/Drupal/user/Plugin/views/field/Roles.php b/core/modules/user/lib/Drupal/user/Plugin/views/field/Roles.php index 6b1577568f2..64480b574d4 100644 --- a/core/modules/user/lib/Drupal/user/Plugin/views/field/Roles.php +++ b/core/modules/user/lib/Drupal/user/Plugin/views/field/Roles.php @@ -7,7 +7,7 @@ namespace Drupal\user\Plugin\views\field; -use Drupal\Component\Annotation\Plugin; +use Drupal\Component\Annotation\PluginID; use Drupal\views\Plugin\views\display\DisplayPluginBase; use Drupal\views\ViewExecutable; use Drupal\views\Plugin\views\field\PrerenderList; @@ -17,10 +17,7 @@ use Drupal\views\Plugin\views\field\PrerenderList; * * @ingroup views_field_handlers * - * @Plugin( - * id = "user_roles", - * module = "user" - * ) + * @PluginID("user_roles") */ class Roles extends PrerenderList { diff --git a/core/modules/user/lib/Drupal/user/Plugin/views/field/User.php b/core/modules/user/lib/Drupal/user/Plugin/views/field/User.php index 1bd79efc5db..614d2010326 100644 --- a/core/modules/user/lib/Drupal/user/Plugin/views/field/User.php +++ b/core/modules/user/lib/Drupal/user/Plugin/views/field/User.php @@ -9,7 +9,7 @@ namespace Drupal\user\Plugin\views\field; use Drupal\views\Plugin\views\field\FieldPluginBase; use Drupal\views\Plugin\views\display\DisplayPluginBase; -use Drupal\Component\Annotation\Plugin; +use Drupal\Component\Annotation\PluginID; use Drupal\views\ViewExecutable; /** @@ -17,10 +17,7 @@ use Drupal\views\ViewExecutable; * * @ingroup views_field_handlers * - * @Plugin( - * id = "user", - * module = "user" - * ) + * @PluginID("user") */ class User extends FieldPluginBase { diff --git a/core/modules/user/lib/Drupal/user/Plugin/views/field/UserData.php b/core/modules/user/lib/Drupal/user/Plugin/views/field/UserData.php index 057b4dabf87..06b352fdb21 100644 --- a/core/modules/user/lib/Drupal/user/Plugin/views/field/UserData.php +++ b/core/modules/user/lib/Drupal/user/Plugin/views/field/UserData.php @@ -11,7 +11,7 @@ use Drupal\views\Plugin\views\display\DisplayPluginBase; use Drupal\views\Plugin\views\field\FieldPluginBase; use Drupal\views\ViewExecutable; use Drupal\user\UserDataInterface; -use Drupal\Component\Annotation\Plugin; +use Drupal\Component\Annotation\PluginID; /** * Provides access to the user data service. @@ -20,10 +20,7 @@ use Drupal\Component\Annotation\Plugin; * * @see \Drupal\user\UserDataInterface * - * @Plugin( - * id = "user_data", - * module = "user" - * ) + * @PluginID("user_data") */ class UserData extends FieldPluginBase { diff --git a/core/modules/user/lib/Drupal/user/Plugin/views/filter/Current.php b/core/modules/user/lib/Drupal/user/Plugin/views/filter/Current.php index 322308fb70b..26dfd9a444d 100644 --- a/core/modules/user/lib/Drupal/user/Plugin/views/filter/Current.php +++ b/core/modules/user/lib/Drupal/user/Plugin/views/filter/Current.php @@ -7,7 +7,7 @@ namespace Drupal\user\Plugin\views\filter; -use Drupal\Component\Annotation\Plugin; +use Drupal\Component\Annotation\PluginID; use Drupal\views\Plugin\views\display\DisplayPluginBase; use Drupal\views\ViewExecutable; use Drupal\views\Plugin\views\filter\BooleanOperator; @@ -17,10 +17,7 @@ use Drupal\views\Plugin\views\filter\BooleanOperator; * * @ingroup views_filter_handlers * - * @Plugin( - * id = "user_current", - * module = "user" - * ) + * @PluginID("user_current") */ class Current extends BooleanOperator { diff --git a/core/modules/user/lib/Drupal/user/Plugin/views/filter/Name.php b/core/modules/user/lib/Drupal/user/Plugin/views/filter/Name.php index 9d95b65b2fd..8c5104c6423 100644 --- a/core/modules/user/lib/Drupal/user/Plugin/views/filter/Name.php +++ b/core/modules/user/lib/Drupal/user/Plugin/views/filter/Name.php @@ -8,17 +8,14 @@ namespace Drupal\user\Plugin\views\filter; use Drupal\views\Plugin\views\filter\InOperator; -use Drupal\Component\Annotation\Plugin; +use Drupal\Component\Annotation\PluginID; /** * Filter handler for usernames. * * @ingroup views_filter_handlers * - * @Plugin( - * id = "user_name", - * module = "user" - * ) + * @PluginID("user_name") */ class Name extends InOperator { diff --git a/core/modules/user/lib/Drupal/user/Plugin/views/filter/Permissions.php b/core/modules/user/lib/Drupal/user/Plugin/views/filter/Permissions.php index cf71ac253ff..54f24f8ca5e 100644 --- a/core/modules/user/lib/Drupal/user/Plugin/views/filter/Permissions.php +++ b/core/modules/user/lib/Drupal/user/Plugin/views/filter/Permissions.php @@ -7,7 +7,7 @@ namespace Drupal\user\Plugin\views\filter; -use Drupal\Component\Annotation\Plugin; +use Drupal\Component\Annotation\PluginID; use Drupal\views\Plugin\views\filter\ManyToOne; /** @@ -15,10 +15,7 @@ use Drupal\views\Plugin\views\filter\ManyToOne; * * @ingroup views_filter_handlers * - * @Plugin( - * id = "user_permissions", - * module = "user" - * ) + * @PluginID("user_permissions") */ class Permissions extends ManyToOne { diff --git a/core/modules/user/lib/Drupal/user/Plugin/views/filter/Roles.php b/core/modules/user/lib/Drupal/user/Plugin/views/filter/Roles.php index a4c2dda3d7d..4aa9d533c39 100644 --- a/core/modules/user/lib/Drupal/user/Plugin/views/filter/Roles.php +++ b/core/modules/user/lib/Drupal/user/Plugin/views/filter/Roles.php @@ -7,7 +7,7 @@ namespace Drupal\user\Plugin\views\filter; -use Drupal\Component\Annotation\Plugin; +use Drupal\Component\Annotation\PluginID; use Drupal\views\Plugin\views\filter\ManyToOne; /** @@ -15,10 +15,7 @@ use Drupal\views\Plugin\views\filter\ManyToOne; * * @ingroup views_filter_handlers * - * @Plugin( - * id = "user_roles", - * module = "user" - * ) + * @PluginID("user_roles") */ class Roles extends ManyToOne { diff --git a/core/modules/views/lib/Drupal/views/Plugin/Discovery/ViewsHandlerDiscovery.php b/core/modules/views/lib/Drupal/views/Plugin/Discovery/ViewsHandlerDiscovery.php new file mode 100644 index 00000000000..291ad44b56b --- /dev/null +++ b/core/modules/views/lib/Drupal/views/Plugin/Discovery/ViewsHandlerDiscovery.php @@ -0,0 +1,58 @@ +type = $type; + $annotation_namespaces = array( + 'Drupal\Component\Annotation' => DRUPAL_ROOT . '/core/lib', + ); + $plugin_namespaces = array(); + foreach ($root_namespaces as $namespace => $dir) { + $plugin_namespaces["$namespace\\Plugin\\views\\{$type}"] = array($dir); + } + parent::__construct($plugin_namespaces, $annotation_namespaces, 'Drupal\Component\Annotation\PluginID'); + } + + /** + * {@inheritdoc} + */ + public function getDefinitions() { + // Add the plugin_type to the definition. + $definitions = parent::getDefinitions(); + foreach ($definitions as $key => $definition) { + $definitions[$key]['plugin_type'] = $this->type; + } + return $definitions; + } + +} diff --git a/core/modules/views/lib/Drupal/views/Plugin/ViewsHandlerManager.php b/core/modules/views/lib/Drupal/views/Plugin/ViewsHandlerManager.php new file mode 100644 index 00000000000..b515452913d --- /dev/null +++ b/core/modules/views/lib/Drupal/views/Plugin/ViewsHandlerManager.php @@ -0,0 +1,35 @@ +discovery = new ViewsHandlerDiscovery($type, $namespaces); + $this->discovery = new CacheDecorator($this->discovery, "views:$type", 'views_info'); + + $this->factory = new DefaultFactory($this->discovery); + } + +} diff --git a/core/modules/views/lib/Drupal/views/Plugin/views/area/Broken.php b/core/modules/views/lib/Drupal/views/Plugin/views/area/Broken.php index 39fc9d04e8a..64a63a0a65b 100644 --- a/core/modules/views/lib/Drupal/views/Plugin/views/area/Broken.php +++ b/core/modules/views/lib/Drupal/views/Plugin/views/area/Broken.php @@ -7,16 +7,14 @@ namespace Drupal\views\Plugin\views\area; -use Drupal\Component\Annotation\Plugin; +use Drupal\Component\Annotation\PluginID; /** * A special handler to take the place of missing or broken handlers. * * @ingroup views_area_handlers * - * @Plugin( - * id = "broken" - * ) + * @PluginID("broken") */ class Broken extends AreaPluginBase { diff --git a/core/modules/views/lib/Drupal/views/Plugin/views/area/Entity.php b/core/modules/views/lib/Drupal/views/Plugin/views/area/Entity.php index 200cecb2b63..4a41d0af373 100644 --- a/core/modules/views/lib/Drupal/views/Plugin/views/area/Entity.php +++ b/core/modules/views/lib/Drupal/views/Plugin/views/area/Entity.php @@ -9,7 +9,7 @@ namespace Drupal\views\Plugin\views\area; use Drupal\views\Plugin\views\display\DisplayPluginBase; use Drupal\views\ViewExecutable; -use Drupal\Component\Annotation\Plugin; +use Drupal\Component\Annotation\PluginID; use Drupal\views\Plugin\views\area\AreaPluginBase; /** @@ -17,10 +17,7 @@ use Drupal\views\Plugin\views\area\AreaPluginBase; * * @ingroup views_area_handlers * - * @Plugin( - * id = "entity", - * module = "views" - * ) + * @PluginID("entity") */ class Entity extends AreaPluginBase { diff --git a/core/modules/views/lib/Drupal/views/Plugin/views/area/Result.php b/core/modules/views/lib/Drupal/views/Plugin/views/area/Result.php index d6196503367..81f6e857e39 100644 --- a/core/modules/views/lib/Drupal/views/Plugin/views/area/Result.php +++ b/core/modules/views/lib/Drupal/views/Plugin/views/area/Result.php @@ -7,16 +7,14 @@ namespace Drupal\views\Plugin\views\area; -use Drupal\Component\Annotation\Plugin; +use Drupal\Component\Annotation\PluginID; /** * Views area handler to display some configurable result summary. * * @ingroup views_area_handlers * - * @Plugin( - * id = "result" - * ) + * @PluginID("result") */ class Result extends AreaPluginBase { diff --git a/core/modules/views/lib/Drupal/views/Plugin/views/area/Text.php b/core/modules/views/lib/Drupal/views/Plugin/views/area/Text.php index 74959332f3c..4c926ad60d5 100644 --- a/core/modules/views/lib/Drupal/views/Plugin/views/area/Text.php +++ b/core/modules/views/lib/Drupal/views/Plugin/views/area/Text.php @@ -7,16 +7,14 @@ namespace Drupal\views\Plugin\views\area; -use Drupal\Component\Annotation\Plugin; +use Drupal\Component\Annotation\PluginID; /** * Views area text handler. * * @ingroup views_area_handlers * - * @Plugin( - * id = "text" - * ) + * @PluginID("text") */ class Text extends AreaPluginBase { diff --git a/core/modules/views/lib/Drupal/views/Plugin/views/area/TextCustom.php b/core/modules/views/lib/Drupal/views/Plugin/views/area/TextCustom.php index 754dd4fe713..002537ad5ff 100644 --- a/core/modules/views/lib/Drupal/views/Plugin/views/area/TextCustom.php +++ b/core/modules/views/lib/Drupal/views/Plugin/views/area/TextCustom.php @@ -7,16 +7,14 @@ namespace Drupal\views\Plugin\views\area; -use Drupal\Component\Annotation\Plugin; +use Drupal\Component\Annotation\PluginID; /** * Views area text handler. * * @ingroup views_area_handlers * - * @Plugin( - * id = "text_custom" - * ) + * @PluginID("text_custom") */ class TextCustom extends AreaPluginBase { diff --git a/core/modules/views/lib/Drupal/views/Plugin/views/area/Title.php b/core/modules/views/lib/Drupal/views/Plugin/views/area/Title.php index 56950a60f47..7ee019753e4 100644 --- a/core/modules/views/lib/Drupal/views/Plugin/views/area/Title.php +++ b/core/modules/views/lib/Drupal/views/Plugin/views/area/Title.php @@ -7,16 +7,14 @@ namespace Drupal\views\Plugin\views\area; -use Drupal\Component\Annotation\Plugin; +use Drupal\Component\Annotation\PluginID; /** * Views area title override handler. * * @ingroup views_area_handlers * - * @Plugin( - * id = "title" - * ) + * @PluginID("title") */ class Title extends AreaPluginBase { diff --git a/core/modules/views/lib/Drupal/views/Plugin/views/area/View.php b/core/modules/views/lib/Drupal/views/Plugin/views/area/View.php index 7d5e994b847..26cce1641d7 100644 --- a/core/modules/views/lib/Drupal/views/Plugin/views/area/View.php +++ b/core/modules/views/lib/Drupal/views/Plugin/views/area/View.php @@ -7,16 +7,14 @@ namespace Drupal\views\Plugin\views\area; -use Drupal\Component\Annotation\Plugin; +use Drupal\Component\Annotation\PluginID; /** * Views area handlers. Insert a view inside of an area. * * @ingroup views_area_handlers * - * @Plugin( - * id = "view" - * ) + * @PluginID("view") */ class View extends AreaPluginBase { 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 02cbcf76909..d74ab95897e 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 73d2899ff73..6294ee3b4de 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 @@ use Drupal\Core\Database\Database; * * @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 4fefcd530fd..003f50b6187 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 3ed559ae2a0..d04982f139d 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 @@ use Drupal\views\ViewExecutable; * * @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 b1f5c432fdf..06265042cbb 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 72fbfed7a5f..7e8ef76cff8 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 3ee47fecd1b..803d31a0e04 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 @@ namespace Drupal\views\Plugin\views\argument; 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 @@ use Drupal\views\ManyToOneHelper; * * @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 2a7a11b604a..26188368eb6 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 33a47bda1f8..31e04b026a1 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 c694400a162..303869436be 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 @@ use Drupal\Component\Annotation\Plugin; * * @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 16a4448fd36..b9b419556d7 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 742784eddc0..139bdd27bd8 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 @@ namespace Drupal\views\Plugin\views\argument; 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 @@ use Drupal\Component\Annotation\Plugin; * * @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 1f285932df8..086ff63fd89 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 90b65bdd33c..884b390565e 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 e1ec3ff595c..a0588b57832 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/lib/Drupal/views/Plugin/views/field/Boolean.php b/core/modules/views/lib/Drupal/views/Plugin/views/field/Boolean.php index 4fe8013adcb..a2b8dc24324 100644 --- a/core/modules/views/lib/Drupal/views/Plugin/views/field/Boolean.php +++ b/core/modules/views/lib/Drupal/views/Plugin/views/field/Boolean.php @@ -9,7 +9,7 @@ namespace Drupal\views\Plugin\views\field; use Drupal\views\ViewExecutable; use Drupal\views\Plugin\views\display\DisplayPluginBase; -use Drupal\Component\Annotation\Plugin; +use Drupal\Component\Annotation\PluginID; /** * A handler to provide proper displays for booleans. @@ -27,9 +27,7 @@ use Drupal\Component\Annotation\Plugin; * * @ingroup views_field_handlers * - * @Plugin( - * id = "boolean" - * ) + * @PluginID("boolean") */ class Boolean extends FieldPluginBase { diff --git a/core/modules/views/lib/Drupal/views/Plugin/views/field/Broken.php b/core/modules/views/lib/Drupal/views/Plugin/views/field/Broken.php index 251abd79633..6310248f1f4 100644 --- a/core/modules/views/lib/Drupal/views/Plugin/views/field/Broken.php +++ b/core/modules/views/lib/Drupal/views/Plugin/views/field/Broken.php @@ -7,16 +7,14 @@ namespace Drupal\views\Plugin\views\field; -use Drupal\Component\Annotation\Plugin; +use Drupal\Component\Annotation\PluginID; /** * A special handler to take the place of missing or broken handlers. * * @ingroup views_field_handlers * - * @Plugin( - * id = "broken" - * ) + * @PluginID("broken") */ class Broken extends FieldPluginBase { diff --git a/core/modules/views/lib/Drupal/views/Plugin/views/field/Counter.php b/core/modules/views/lib/Drupal/views/Plugin/views/field/Counter.php index a30a46919b2..b362bb3de15 100644 --- a/core/modules/views/lib/Drupal/views/Plugin/views/field/Counter.php +++ b/core/modules/views/lib/Drupal/views/Plugin/views/field/Counter.php @@ -7,16 +7,14 @@ namespace Drupal\views\Plugin\views\field; -use Drupal\Component\Annotation\Plugin; +use Drupal\Component\Annotation\PluginID; /** * Field handler to show a counter of the current row. * * @ingroup views_field_handlers * - * @Plugin( - * id = "counter" - * ) + * @PluginID("counter") */ class Counter extends FieldPluginBase { diff --git a/core/modules/views/lib/Drupal/views/Plugin/views/field/Custom.php b/core/modules/views/lib/Drupal/views/Plugin/views/field/Custom.php index 4f0050dc39d..f58073302ee 100644 --- a/core/modules/views/lib/Drupal/views/Plugin/views/field/Custom.php +++ b/core/modules/views/lib/Drupal/views/Plugin/views/field/Custom.php @@ -7,16 +7,14 @@ namespace Drupal\views\Plugin\views\field; -use Drupal\Component\Annotation\Plugin; +use Drupal\Component\Annotation\PluginID; /** * A handler to provide a field that is completely custom by the administrator. * * @ingroup views_field_handlers * - * @Plugin( - * id = "custom" - * ) + * @PluginID("custom") */ class Custom extends FieldPluginBase { diff --git a/core/modules/views/lib/Drupal/views/Plugin/views/field/Date.php b/core/modules/views/lib/Drupal/views/Plugin/views/field/Date.php index 73b50f7d46c..9fa6d621f21 100644 --- a/core/modules/views/lib/Drupal/views/Plugin/views/field/Date.php +++ b/core/modules/views/lib/Drupal/views/Plugin/views/field/Date.php @@ -7,16 +7,14 @@ namespace Drupal\views\Plugin\views\field; -use Drupal\Component\Annotation\Plugin; +use Drupal\Component\Annotation\PluginID; /** * A handler to provide proper displays for dates. * * @ingroup views_field_handlers * - * @Plugin( - * id = "date" - * ) + * @PluginID("date") */ class Date extends FieldPluginBase { diff --git a/core/modules/views/lib/Drupal/views/Plugin/views/field/Dropbutton.php b/core/modules/views/lib/Drupal/views/Plugin/views/field/Dropbutton.php index c7cea41f8e1..491463db66c 100644 --- a/core/modules/views/lib/Drupal/views/Plugin/views/field/Dropbutton.php +++ b/core/modules/views/lib/Drupal/views/Plugin/views/field/Dropbutton.php @@ -7,16 +7,14 @@ namespace Drupal\views\Plugin\views\field; -use Drupal\Component\Annotation\Plugin; +use Drupal\Component\Annotation\PluginID; /** * Provides a handler that renders links as dropbutton. * * @ingroup views_field_handlers * - * @Plugin( - * id = "dropbutton" - * ) + * @PluginID("dropbutton") */ class Dropbutton extends Links { diff --git a/core/modules/views/lib/Drupal/views/Plugin/views/field/FieldPluginBase.php b/core/modules/views/lib/Drupal/views/Plugin/views/field/FieldPluginBase.php index 4b10d1d6d67..c5e3e344897 100644 --- a/core/modules/views/lib/Drupal/views/Plugin/views/field/FieldPluginBase.php +++ b/core/modules/views/lib/Drupal/views/Plugin/views/field/FieldPluginBase.php @@ -10,7 +10,6 @@ namespace Drupal\views\Plugin\views\field; use Drupal\views\Plugin\views\HandlerBase; use Drupal\views\Plugin\views\display\DisplayPluginBase; use Drupal\views\ViewExecutable; -use Drupal\Component\Annotation\Plugin; /** * @defgroup views_field_handlers Views field handlers diff --git a/core/modules/views/lib/Drupal/views/Plugin/views/field/FileSize.php b/core/modules/views/lib/Drupal/views/Plugin/views/field/FileSize.php index 9c35a18c8c7..1bfa5ea0a4e 100644 --- a/core/modules/views/lib/Drupal/views/Plugin/views/field/FileSize.php +++ b/core/modules/views/lib/Drupal/views/Plugin/views/field/FileSize.php @@ -7,16 +7,14 @@ namespace Drupal\views\Plugin\views\field; -use Drupal\Component\Annotation\Plugin; +use Drupal\Component\Annotation\PluginID; /** * Render a numeric value as a size. * * @ingroup views_field_handlers * - * @Plugin( - * id = "file_size" - * ) + * @PluginID("file_size") */ class FileSize extends FieldPluginBase { diff --git a/core/modules/views/lib/Drupal/views/Plugin/views/field/MachineName.php b/core/modules/views/lib/Drupal/views/Plugin/views/field/MachineName.php index 6e7e7ba6447..29b26581ad5 100644 --- a/core/modules/views/lib/Drupal/views/Plugin/views/field/MachineName.php +++ b/core/modules/views/lib/Drupal/views/Plugin/views/field/MachineName.php @@ -7,7 +7,7 @@ namespace Drupal\views\Plugin\views\field; -use Drupal\Component\Annotation\Plugin; +use Drupal\Component\Annotation\PluginID; /** * Field handler whichs allows to show machine name content as human name. @@ -17,9 +17,7 @@ use Drupal\Component\Annotation\Plugin; * - options callback: The function to call in order to generate the value options. If omitted, the options 'Yes' and 'No' will be used. * - options arguments: An array of arguments to pass to the options callback. * - * @Plugin( - * id = "machine_name" - * ) + * @PluginID("machine_name") */ class MachineName extends FieldPluginBase { diff --git a/core/modules/views/lib/Drupal/views/Plugin/views/field/Markup.php b/core/modules/views/lib/Drupal/views/Plugin/views/field/Markup.php index 4129f986639..a93a62ac795 100644 --- a/core/modules/views/lib/Drupal/views/Plugin/views/field/Markup.php +++ b/core/modules/views/lib/Drupal/views/Plugin/views/field/Markup.php @@ -7,7 +7,7 @@ namespace Drupal\views\Plugin\views\field; -use Drupal\Component\Annotation\Plugin; +use Drupal\Component\Annotation\PluginID; use Drupal\views\Plugin\views\display\DisplayPluginBase; use Drupal\views\ViewExecutable; @@ -22,9 +22,7 @@ use Drupal\views\ViewExecutable; * * @ingroup views_field_handlers * - * @Plugin( - * id = "markup" - * ) + * @PluginID("markup") */ class Markup extends FieldPluginBase { diff --git a/core/modules/views/lib/Drupal/views/Plugin/views/field/Numeric.php b/core/modules/views/lib/Drupal/views/Plugin/views/field/Numeric.php index 12e61a20bf8..42a36e7510c 100644 --- a/core/modules/views/lib/Drupal/views/Plugin/views/field/Numeric.php +++ b/core/modules/views/lib/Drupal/views/Plugin/views/field/Numeric.php @@ -7,7 +7,7 @@ namespace Drupal\views\Plugin\views\field; -use Drupal\Component\Annotation\Plugin; +use Drupal\Component\Annotation\PluginID; /** * Render a field as a numeric value @@ -18,9 +18,7 @@ use Drupal\Component\Annotation\Plugin; * * @ingroup views_field_handlers * - * @Plugin( - * id = "numeric" - * ) + * @PluginID("numeric") */ class Numeric extends FieldPluginBase { diff --git a/core/modules/views/lib/Drupal/views/Plugin/views/field/PrerenderList.php b/core/modules/views/lib/Drupal/views/Plugin/views/field/PrerenderList.php index 306fe89fc6c..1dfa85b90ff 100644 --- a/core/modules/views/lib/Drupal/views/Plugin/views/field/PrerenderList.php +++ b/core/modules/views/lib/Drupal/views/Plugin/views/field/PrerenderList.php @@ -7,7 +7,7 @@ namespace Drupal\views\Plugin\views\field; -use Drupal\Component\Annotation\Plugin; +use Drupal\Component\Annotation\PluginID; /** * Field handler to provide a list of items. @@ -19,9 +19,7 @@ use Drupal\Component\Annotation\Plugin; * * @ingroup views_field_handlers * - * @Plugin( - * id = "prerender_list" - * ) + * @PluginID("prerender_list") */ class PrerenderList extends FieldPluginBase { diff --git a/core/modules/views/lib/Drupal/views/Plugin/views/field/Serialized.php b/core/modules/views/lib/Drupal/views/Plugin/views/field/Serialized.php index a1ffcf17646..d1a90603658 100644 --- a/core/modules/views/lib/Drupal/views/Plugin/views/field/Serialized.php +++ b/core/modules/views/lib/Drupal/views/Plugin/views/field/Serialized.php @@ -7,16 +7,14 @@ namespace Drupal\views\Plugin\views\field; -use Drupal\Component\Annotation\Plugin; +use Drupal\Component\Annotation\PluginID; /** * Field handler to show data of serialized fields. * * @ingroup views_field_handlers * - * @Plugin( - * id = "serialized" - * ) + * @PluginID("serialized") */ class Serialized extends FieldPluginBase { diff --git a/core/modules/views/lib/Drupal/views/Plugin/views/field/Standard.php b/core/modules/views/lib/Drupal/views/Plugin/views/field/Standard.php index 9b4c8625bbc..0e9831398ba 100644 --- a/core/modules/views/lib/Drupal/views/Plugin/views/field/Standard.php +++ b/core/modules/views/lib/Drupal/views/Plugin/views/field/Standard.php @@ -7,16 +7,14 @@ namespace Drupal\views\Plugin\views\field; -use Drupal\Component\Annotation\Plugin; +use Drupal\Component\Annotation\PluginID; /** * Default implementation of the base field plugin. * * @ingroup views_field_handlers * - * @Plugin( - * id = "standard" - * ) + * @PluginID("standard") */ class Standard extends FieldPluginBase { diff --git a/core/modules/views/lib/Drupal/views/Plugin/views/field/TimeInterval.php b/core/modules/views/lib/Drupal/views/Plugin/views/field/TimeInterval.php index 796efacbf12..e8c514c262d 100644 --- a/core/modules/views/lib/Drupal/views/Plugin/views/field/TimeInterval.php +++ b/core/modules/views/lib/Drupal/views/Plugin/views/field/TimeInterval.php @@ -7,16 +7,14 @@ namespace Drupal\views\Plugin\views\field; -use Drupal\Component\Annotation\Plugin; +use Drupal\Component\Annotation\PluginID; /** * A handler to provide proper displays for time intervals. * * @ingroup views_field_handlers * - * @Plugin( - * id = "time_interval" - * ) + * @PluginID("time_interval") */ class TimeInterval extends FieldPluginBase { diff --git a/core/modules/views/lib/Drupal/views/Plugin/views/field/Url.php b/core/modules/views/lib/Drupal/views/Plugin/views/field/Url.php index b30e3ec8060..3539d6f337d 100644 --- a/core/modules/views/lib/Drupal/views/Plugin/views/field/Url.php +++ b/core/modules/views/lib/Drupal/views/Plugin/views/field/Url.php @@ -7,16 +7,14 @@ namespace Drupal\views\Plugin\views\field; -use Drupal\Component\Annotation\Plugin; +use Drupal\Component\Annotation\PluginID; /** * Field handler to provide simple renderer that turns a URL into a clickable link. * * @ingroup views_field_handlers * - * @Plugin( - * id = "url" - * ) + * @PluginID("url") */ class Url extends FieldPluginBase { diff --git a/core/modules/views/lib/Drupal/views/Plugin/views/field/Xss.php b/core/modules/views/lib/Drupal/views/Plugin/views/field/Xss.php index 5fa8c3166b7..4bf8a43003b 100644 --- a/core/modules/views/lib/Drupal/views/Plugin/views/field/Xss.php +++ b/core/modules/views/lib/Drupal/views/Plugin/views/field/Xss.php @@ -8,16 +8,14 @@ namespace Drupal\views\Plugin\views\field; use Drupal\views\Plugin\views\field\FieldPluginBase; -use Drupal\Component\Annotation\Plugin; +use Drupal\Component\Annotation\PluginID; /** * A handler to run a field through simple XSS filtering. * * @ingroup views_field_handlers * - * @Plugin( - * id = "xss" - * ) + * @PluginID("xss") */ class Xss extends FieldPluginBase { diff --git a/core/modules/views/lib/Drupal/views/Plugin/views/filter/BooleanOperator.php b/core/modules/views/lib/Drupal/views/Plugin/views/filter/BooleanOperator.php index 20ee145132b..e5327f118bd 100644 --- a/core/modules/views/lib/Drupal/views/Plugin/views/filter/BooleanOperator.php +++ b/core/modules/views/lib/Drupal/views/Plugin/views/filter/BooleanOperator.php @@ -7,7 +7,7 @@ namespace Drupal\views\Plugin\views\filter; -use Drupal\Component\Annotation\Plugin; +use Drupal\Component\Annotation\PluginID; use Drupal\views\Plugin\views\display\DisplayPluginBase; use Drupal\views\ViewExecutable; @@ -27,9 +27,7 @@ use Drupal\views\ViewExecutable; * * @ingroup views_filter_handlers * - * @Plugin( - * id = "boolean" - * ) + * @PluginID("boolean") */ class BooleanOperator extends FilterPluginBase { diff --git a/core/modules/views/lib/Drupal/views/Plugin/views/filter/BooleanOperatorString.php b/core/modules/views/lib/Drupal/views/Plugin/views/filter/BooleanOperatorString.php index 2e6f467995e..d19fc6a69fb 100644 --- a/core/modules/views/lib/Drupal/views/Plugin/views/filter/BooleanOperatorString.php +++ b/core/modules/views/lib/Drupal/views/Plugin/views/filter/BooleanOperatorString.php @@ -7,7 +7,7 @@ namespace Drupal\views\Plugin\views\filter; -use Drupal\Component\Annotation\Plugin; +use Drupal\Component\Annotation\PluginID; /** * Simple filter to handle matching of boolean values. @@ -20,9 +20,7 @@ use Drupal\Component\Annotation\Plugin; * * @ingroup views_filter_handlers * - * @Plugin( - * id = "boolean_string" - * ) + * @PluginID("boolean_string") */ class BooleanOperatorString extends BooleanOperator { diff --git a/core/modules/views/lib/Drupal/views/Plugin/views/filter/Broken.php b/core/modules/views/lib/Drupal/views/Plugin/views/filter/Broken.php index 2ece6ca27da..701cabb9d8a 100644 --- a/core/modules/views/lib/Drupal/views/Plugin/views/filter/Broken.php +++ b/core/modules/views/lib/Drupal/views/Plugin/views/filter/Broken.php @@ -7,7 +7,7 @@ namespace Drupal\views\Plugin\views\filter; -use Drupal\Component\Annotation\Plugin; +use Drupal\Component\Annotation\PluginID; use Drupal\views\Plugin\views\display\DisplayPluginBase; use Drupal\views\ViewExecutable; @@ -16,9 +16,7 @@ use Drupal\views\ViewExecutable; * * @ingroup views_filter_handlers * - * @Plugin( - * id = "broken" - * ) + * @PluginID("broken") */ class Broken extends FilterPluginBase { diff --git a/core/modules/views/lib/Drupal/views/Plugin/views/filter/Bundle.php b/core/modules/views/lib/Drupal/views/Plugin/views/filter/Bundle.php index 0fbe8d20a8d..1ce3e951d7b 100644 --- a/core/modules/views/lib/Drupal/views/Plugin/views/filter/Bundle.php +++ b/core/modules/views/lib/Drupal/views/Plugin/views/filter/Bundle.php @@ -7,7 +7,7 @@ namespace Drupal\views\Plugin\views\filter; -use Drupal\Component\Annotation\Plugin; +use Drupal\Component\Annotation\PluginID; use Drupal\views\ViewExecutable; use Drupal\views\Plugin\views\display\DisplayPluginBase; @@ -16,9 +16,7 @@ use Drupal\views\Plugin\views\display\DisplayPluginBase; * * @ingroup views_filter_handlers * - * @Plugin( - * id = "bundle" - * ) + * @PluginID("bundle") */ class Bundle extends InOperator { diff --git a/core/modules/views/lib/Drupal/views/Plugin/views/filter/Combine.php b/core/modules/views/lib/Drupal/views/Plugin/views/filter/Combine.php index 4a8b18ecd52..a8d8de8c987 100644 --- a/core/modules/views/lib/Drupal/views/Plugin/views/filter/Combine.php +++ b/core/modules/views/lib/Drupal/views/Plugin/views/filter/Combine.php @@ -7,16 +7,14 @@ namespace Drupal\views\Plugin\views\filter; -use Drupal\Component\Annotation\Plugin; +use Drupal\Component\Annotation\PluginID; /** * Filter handler which allows to search on multiple fields. * * @ingroup views_field_handlers * - * @Plugin( - * id = "combine" - * ) + * @PluginID("combine") */ class Combine extends String { diff --git a/core/modules/views/lib/Drupal/views/Plugin/views/filter/Date.php b/core/modules/views/lib/Drupal/views/Plugin/views/filter/Date.php index ae01e3b24fb..ea46efc716d 100644 --- a/core/modules/views/lib/Drupal/views/Plugin/views/filter/Date.php +++ b/core/modules/views/lib/Drupal/views/Plugin/views/filter/Date.php @@ -7,16 +7,14 @@ namespace Drupal\views\Plugin\views\filter; -use Drupal\Component\Annotation\Plugin; +use Drupal\Component\Annotation\PluginID; /** * Filter to handle dates stored as a timestamp. * * @ingroup views_filter_handlers * - * @Plugin( - * id = "date" - * ) + * @PluginID("date") */ class Date extends Numeric { diff --git a/core/modules/views/lib/Drupal/views/Plugin/views/filter/Equality.php b/core/modules/views/lib/Drupal/views/Plugin/views/filter/Equality.php index 541fca46def..f6af8505cbb 100644 --- a/core/modules/views/lib/Drupal/views/Plugin/views/filter/Equality.php +++ b/core/modules/views/lib/Drupal/views/Plugin/views/filter/Equality.php @@ -7,16 +7,14 @@ namespace Drupal\views\Plugin\views\filter; -use Drupal\Component\Annotation\Plugin; +use Drupal\Component\Annotation\PluginID; /** * Simple filter to handle equal to / not equal to filters * * @ingroup views_filter_handlers * - * @Plugin( - * id = "equality" - * ) + * @PluginID("equality") */ class Equality extends FilterPluginBase { diff --git a/core/modules/views/lib/Drupal/views/Plugin/views/filter/GroupByNumeric.php b/core/modules/views/lib/Drupal/views/Plugin/views/filter/GroupByNumeric.php index 559b183420a..02aad33cc4c 100644 --- a/core/modules/views/lib/Drupal/views/Plugin/views/filter/GroupByNumeric.php +++ b/core/modules/views/lib/Drupal/views/Plugin/views/filter/GroupByNumeric.php @@ -7,16 +7,14 @@ namespace Drupal\views\Plugin\views\filter; -use Drupal\Component\Annotation\Plugin; +use Drupal\Component\Annotation\PluginID; /** * Simple filter to handle greater than/less than filters * * @ingroup views_filter_handlers * - * @Plugin( - * id = "groupby_numeric" - * ) + * @PluginID("groupby_numeric") */ class GroupByNumeric extends Numeric { diff --git a/core/modules/views/lib/Drupal/views/Plugin/views/filter/InOperator.php b/core/modules/views/lib/Drupal/views/Plugin/views/filter/InOperator.php index 5508f66263e..dfe89ea7573 100644 --- a/core/modules/views/lib/Drupal/views/Plugin/views/filter/InOperator.php +++ b/core/modules/views/lib/Drupal/views/Plugin/views/filter/InOperator.php @@ -7,7 +7,7 @@ namespace Drupal\views\Plugin\views\filter; -use Drupal\Component\Annotation\Plugin; +use Drupal\Component\Annotation\PluginID; use Drupal\views\Plugin\views\display\DisplayPluginBase; use Drupal\views\ViewExecutable; @@ -20,9 +20,7 @@ use Drupal\views\ViewExecutable; * * @ingroup views_filter_handlers * - * @Plugin( - * id = "in_operator" - * ) + * @PluginID("in_operator") */ class InOperator extends FilterPluginBase { diff --git a/core/modules/views/lib/Drupal/views/Plugin/views/filter/ManyToOne.php b/core/modules/views/lib/Drupal/views/Plugin/views/filter/ManyToOne.php index c8b0111b891..1f3a6727fc2 100644 --- a/core/modules/views/lib/Drupal/views/Plugin/views/filter/ManyToOne.php +++ b/core/modules/views/lib/Drupal/views/Plugin/views/filter/ManyToOne.php @@ -10,7 +10,7 @@ namespace Drupal\views\Plugin\views\filter; 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; /** * Complex filter to handle filtering for many to one relationships, @@ -22,9 +22,7 @@ use Drupal\Component\Annotation\Plugin; * * @ingroup views_filter_handlers * - * @Plugin( - * id = "many_to_one" - * ) + * @PluginID("many_to_one") */ class ManyToOne extends InOperator { diff --git a/core/modules/views/lib/Drupal/views/Plugin/views/filter/Numeric.php b/core/modules/views/lib/Drupal/views/Plugin/views/filter/Numeric.php index e6b27cf1bdf..3c2f7530b76 100644 --- a/core/modules/views/lib/Drupal/views/Plugin/views/filter/Numeric.php +++ b/core/modules/views/lib/Drupal/views/Plugin/views/filter/Numeric.php @@ -8,16 +8,14 @@ namespace Drupal\views\Plugin\views\filter; use Drupal\Core\Database\Database; -use Drupal\Component\Annotation\Plugin; +use Drupal\Component\Annotation\PluginID; /** * Simple filter to handle greater than/less than filters * * @ingroup views_filter_handlers * - * @Plugin( - * id = "numeric" - * ) + * @PluginID("numeric") */ class Numeric extends FilterPluginBase { diff --git a/core/modules/views/lib/Drupal/views/Plugin/views/filter/Standard.php b/core/modules/views/lib/Drupal/views/Plugin/views/filter/Standard.php index 4baee72f982..a2328f327ed 100644 --- a/core/modules/views/lib/Drupal/views/Plugin/views/filter/Standard.php +++ b/core/modules/views/lib/Drupal/views/Plugin/views/filter/Standard.php @@ -7,16 +7,14 @@ namespace Drupal\views\Plugin\views\filter; -use Drupal\Component\Annotation\Plugin; +use Drupal\Component\Annotation\PluginID; /** * Default implementation of the base filter plugin. * * @ingroup views_filter_handlers * - * @Plugin( - * id = "standard" - * ) + * @PluginID("standard") */ class Standard extends FilterPluginBase { diff --git a/core/modules/views/lib/Drupal/views/Plugin/views/filter/String.php b/core/modules/views/lib/Drupal/views/Plugin/views/filter/String.php index be3e132bc25..c80e39d392b 100644 --- a/core/modules/views/lib/Drupal/views/Plugin/views/filter/String.php +++ b/core/modules/views/lib/Drupal/views/Plugin/views/filter/String.php @@ -8,7 +8,7 @@ namespace Drupal\views\Plugin\views\filter; use Drupal\Core\Database\Database; -use Drupal\Component\Annotation\Plugin; +use Drupal\Component\Annotation\PluginID; /** * Basic textfield filter to handle string filtering commands @@ -16,9 +16,7 @@ use Drupal\Component\Annotation\Plugin; * * @ingroup views_filter_handlers * - * @Plugin( - * id = "string" - * ) + * @PluginID("string") */ class String extends FilterPluginBase { diff --git a/core/modules/views/lib/Drupal/views/Plugin/views/join/Standard.php b/core/modules/views/lib/Drupal/views/Plugin/views/join/Standard.php index 323d3393e41..e4977d7828a 100644 --- a/core/modules/views/lib/Drupal/views/Plugin/views/join/Standard.php +++ b/core/modules/views/lib/Drupal/views/Plugin/views/join/Standard.php @@ -7,14 +7,12 @@ namespace Drupal\views\Plugin\views\join; -use Drupal\Component\Annotation\Plugin; +use Drupal\Component\Annotation\PluginID; /** * Default implementation of the join plugin. * - * @Plugin( - * id = "standard" - * ) + * @PluginID("standard") */ class Standard extends JoinPluginBase { diff --git a/core/modules/views/lib/Drupal/views/Plugin/views/join/Subquery.php b/core/modules/views/lib/Drupal/views/Plugin/views/join/Subquery.php index 0cb03c91d4f..1249f94077c 100644 --- a/core/modules/views/lib/Drupal/views/Plugin/views/join/Subquery.php +++ b/core/modules/views/lib/Drupal/views/Plugin/views/join/Subquery.php @@ -6,7 +6,7 @@ */ namespace Drupal\views\Plugin\views\join; -use Drupal\Component\Annotation\Plugin; +use Drupal\Component\Annotation\PluginID; /** * Join handler for relationships that join with a subquery as the left field. @@ -17,9 +17,7 @@ use Drupal\Component\Annotation\Plugin; * same as Join class above, except: * - left_query: The subquery to use in the left side of the join clause. * - * @Plugin( - * id = "subquery" - * ) + * @PluginID("subquery") */ class Subquery extends JoinPluginBase { diff --git a/core/modules/views/lib/Drupal/views/Plugin/views/relationship/Broken.php b/core/modules/views/lib/Drupal/views/Plugin/views/relationship/Broken.php index afddb4acf7f..c891f00fd91 100644 --- a/core/modules/views/lib/Drupal/views/Plugin/views/relationship/Broken.php +++ b/core/modules/views/lib/Drupal/views/Plugin/views/relationship/Broken.php @@ -7,16 +7,14 @@ namespace Drupal\views\Plugin\views\relationship; -use Drupal\Component\Annotation\Plugin; +use Drupal\Component\Annotation\PluginID; /** * A special handler to take the place of missing or broken handlers. * * @ingroup views_relationship_handlers * - * @Plugin( - * id = "broken" - * ) + * @PluginID("broken") */ class Broken extends RelationshipPluginBase { diff --git a/core/modules/views/lib/Drupal/views/Plugin/views/relationship/GroupwiseMax.php b/core/modules/views/lib/Drupal/views/Plugin/views/relationship/GroupwiseMax.php index 87376eeb59c..b5c236d3ca9 100644 --- a/core/modules/views/lib/Drupal/views/Plugin/views/relationship/GroupwiseMax.php +++ b/core/modules/views/lib/Drupal/views/Plugin/views/relationship/GroupwiseMax.php @@ -9,7 +9,7 @@ namespace Drupal\views\Plugin\views\relationship; use Drupal\Core\Database\Query\AlterableInterface; use Drupal\views\ViewExecutable; -use Drupal\Component\Annotation\Plugin; +use Drupal\Component\Annotation\PluginID; use Drupal\views\Views; /** @@ -60,9 +60,7 @@ use Drupal\views\Views; * * @ingroup views_relationship_handlers * - * @Plugin( - * id = "groupwise_max" - * ) + * @PluginID("groupwise_max") */ class GroupwiseMax extends RelationshipPluginBase { diff --git a/core/modules/views/lib/Drupal/views/Plugin/views/relationship/Standard.php b/core/modules/views/lib/Drupal/views/Plugin/views/relationship/Standard.php index 9cd47e58886..c5fa8aa6ab9 100644 --- a/core/modules/views/lib/Drupal/views/Plugin/views/relationship/Standard.php +++ b/core/modules/views/lib/Drupal/views/Plugin/views/relationship/Standard.php @@ -7,16 +7,14 @@ namespace Drupal\views\Plugin\views\relationship; -use Drupal\Component\Annotation\Plugin; +use Drupal\Component\Annotation\PluginID; /** * Default implementation of the base relationship plugin. * * @ingroup views_relationship_handlers * - * @Plugin( - * id = "standard" - * ) + * @PluginID("standard") */ class Standard extends RelationshipPluginBase { diff --git a/core/modules/views/lib/Drupal/views/Plugin/views/sort/Broken.php b/core/modules/views/lib/Drupal/views/Plugin/views/sort/Broken.php index 25ab6950dcd..341bc8ba42e 100644 --- a/core/modules/views/lib/Drupal/views/Plugin/views/sort/Broken.php +++ b/core/modules/views/lib/Drupal/views/Plugin/views/sort/Broken.php @@ -7,16 +7,14 @@ namespace Drupal\views\Plugin\views\sort; -use Drupal\Component\Annotation\Plugin; +use Drupal\Component\Annotation\PluginID; /** * A special handler to take the place of missing or broken handlers. * * @ingroup views_sort_handlers * - * @Plugin( - * id = "broken" - * ) + * @PluginID("broken") */ class Broken extends SortPluginBase { diff --git a/core/modules/views/lib/Drupal/views/Plugin/views/sort/Date.php b/core/modules/views/lib/Drupal/views/Plugin/views/sort/Date.php index 6ccd5fe71aa..c65768efaee 100644 --- a/core/modules/views/lib/Drupal/views/Plugin/views/sort/Date.php +++ b/core/modules/views/lib/Drupal/views/Plugin/views/sort/Date.php @@ -7,7 +7,7 @@ namespace Drupal\views\Plugin\views\sort; -use Drupal\Component\Annotation\Plugin; +use Drupal\Component\Annotation\PluginID; /** * Basic sort handler for dates. @@ -15,9 +15,7 @@ use Drupal\Component\Annotation\Plugin; * This handler enables granularity, which is the ability to make dates * equivalent based upon nearness. * - * @Plugin( - * id = "date" - * ) + * @PluginID("date") */ class Date extends SortPluginBase { diff --git a/core/modules/views/lib/Drupal/views/Plugin/views/sort/GroupByNumeric.php b/core/modules/views/lib/Drupal/views/Plugin/views/sort/GroupByNumeric.php index f0989f5bc7b..ad270f1d703 100644 --- a/core/modules/views/lib/Drupal/views/Plugin/views/sort/GroupByNumeric.php +++ b/core/modules/views/lib/Drupal/views/Plugin/views/sort/GroupByNumeric.php @@ -7,16 +7,14 @@ namespace Drupal\views\Plugin\views\sort; -use Drupal\Component\Annotation\Plugin; +use Drupal\Component\Annotation\PluginID; use Drupal\views\Plugin\views\display\DisplayPluginBase; use Drupal\views\ViewExecutable; /** * Handler for GROUP BY on simple numeric fields. * - * @Plugin( - * id = "groupby_numeric" - * ) + * @PluginID("groupby_numeric") */ class GroupByNumeric extends SortPluginBase { diff --git a/core/modules/views/lib/Drupal/views/Plugin/views/sort/MenuHierarchy.php b/core/modules/views/lib/Drupal/views/Plugin/views/sort/MenuHierarchy.php index 756b960dbae..d1cdb69202e 100644 --- a/core/modules/views/lib/Drupal/views/Plugin/views/sort/MenuHierarchy.php +++ b/core/modules/views/lib/Drupal/views/Plugin/views/sort/MenuHierarchy.php @@ -7,7 +7,7 @@ namespace Drupal\views\Plugin\views\sort; -use Drupal\Component\Annotation\Plugin; +use Drupal\Component\Annotation\PluginID; use Drupal\views\Views; @@ -20,9 +20,7 @@ use Drupal\views\Views; * * This is only really useful for the {menu_links} table. * - * @Plugin( - * id = "menu_hierarchy" - * ) + * @PluginID("menu_hierarchy") */ class MenuHierarchy extends SortPluginBase { diff --git a/core/modules/views/lib/Drupal/views/Plugin/views/sort/Random.php b/core/modules/views/lib/Drupal/views/Plugin/views/sort/Random.php index 66792b5dd12..fdc7db932a3 100644 --- a/core/modules/views/lib/Drupal/views/Plugin/views/sort/Random.php +++ b/core/modules/views/lib/Drupal/views/Plugin/views/sort/Random.php @@ -7,14 +7,12 @@ namespace Drupal\views\Plugin\views\sort; -use Drupal\Component\Annotation\Plugin; +use Drupal\Component\Annotation\PluginID; /** * Handle a random sort. * - * @Plugin( - * id = "random" - * ) + * @PluginID("random") */ class Random extends SortPluginBase { diff --git a/core/modules/views/lib/Drupal/views/Plugin/views/sort/Standard.php b/core/modules/views/lib/Drupal/views/Plugin/views/sort/Standard.php index 038d47ccfe7..1a6cf6914ab 100644 --- a/core/modules/views/lib/Drupal/views/Plugin/views/sort/Standard.php +++ b/core/modules/views/lib/Drupal/views/Plugin/views/sort/Standard.php @@ -7,16 +7,14 @@ namespace Drupal\views\Plugin\views\sort; -use Drupal\Component\Annotation\Plugin; +use Drupal\Component\Annotation\PluginID; /** * Default implementation of the base sort plugin. * * @ingroup views_sort_handlers * - * @Plugin( - * id = "standard" - * ) + * @PluginID("standard") */ class Standard extends SortPluginBase { diff --git a/core/modules/views/tests/views_test_data/lib/Drupal/views_test_data/Plugin/views/area/TestExample.php b/core/modules/views/tests/views_test_data/lib/Drupal/views_test_data/Plugin/views/area/TestExample.php index 38ec004a282..8c7a7c03930 100644 --- a/core/modules/views/tests/views_test_data/lib/Drupal/views_test_data/Plugin/views/area/TestExample.php +++ b/core/modules/views/tests/views_test_data/lib/Drupal/views_test_data/Plugin/views/area/TestExample.php @@ -8,16 +8,14 @@ namespace Drupal\views_test_data\Plugin\views\area; use Drupal\views\Plugin\views\area\AreaPluginBase; -use Drupal\Component\Annotation\Plugin; +use Drupal\Component\Annotation\PluginID; /** * Test area plugin. * * @see Drupal\views\Tests\Handler\AreaTest * - * @Plugin( - * id = "test_example" - * ) + * @PluginID("test_example") */ class TestExample extends AreaPluginBase { diff --git a/core/modules/views/tests/views_test_data/lib/Drupal/views_test_data/Plugin/views/field/FieldTest.php b/core/modules/views/tests/views_test_data/lib/Drupal/views_test_data/Plugin/views/field/FieldTest.php index 73c477951ea..14f856efe19 100644 --- a/core/modules/views/tests/views_test_data/lib/Drupal/views_test_data/Plugin/views/field/FieldTest.php +++ b/core/modules/views/tests/views_test_data/lib/Drupal/views_test_data/Plugin/views/field/FieldTest.php @@ -7,16 +7,11 @@ namespace Drupal\views_test_data\Plugin\views\field; -use Drupal\Component\Annotation\Plugin; -use Drupal\Core\Annotation\Translation; +use Drupal\Component\Annotation\PluginID; use Drupal\views\Plugin\views\field\FieldPluginBase; /** - * @Plugin( - * id = "test_field", - * title = @Translation("Test field plugin"), - * help = @Translation("Provides a generic field test plugin.") - * ) + * @PluginID("test_field") */ class FieldTest extends FieldPluginBase { diff --git a/core/modules/views/tests/views_test_data/lib/Drupal/views_test_data/Plugin/views/filter/FilterTest.php b/core/modules/views/tests/views_test_data/lib/Drupal/views_test_data/Plugin/views/filter/FilterTest.php index 6868262773d..86f82147328 100644 --- a/core/modules/views/tests/views_test_data/lib/Drupal/views_test_data/Plugin/views/filter/FilterTest.php +++ b/core/modules/views/tests/views_test_data/lib/Drupal/views_test_data/Plugin/views/filter/FilterTest.php @@ -7,18 +7,11 @@ namespace Drupal\views_test_data\Plugin\views\filter; -use Drupal\Component\Annotation\Plugin; -use Drupal\Core\Annotation\Translation; +use Drupal\Component\Annotation\PluginID; use Drupal\views\Plugin\views\filter\FilterPluginBase; /** - * @Plugin( - * id = "test_filter", - * title = @Translation("Test filter plugin"), - * help = @Translation("Provides a generic filter test plugin."), - * base = "node", - * type = "type" - * ) + * @PluginID("test_filter") */ class FilterTest extends FilterPluginBase { diff --git a/core/modules/views/tests/views_test_data/lib/Drupal/views_test_data/Plugin/views/join/JoinTest.php b/core/modules/views/tests/views_test_data/lib/Drupal/views_test_data/Plugin/views/join/JoinTest.php index 728d861d846..e1c525ca261 100644 --- a/core/modules/views/tests/views_test_data/lib/Drupal/views_test_data/Plugin/views/join/JoinTest.php +++ b/core/modules/views/tests/views_test_data/lib/Drupal/views_test_data/Plugin/views/join/JoinTest.php @@ -8,16 +8,13 @@ namespace Drupal\views_test_data\Plugin\views\join; use Drupal\views\Plugin\views\join\JoinPluginBase; -use Drupal\Component\Annotation\Plugin; +use Drupal\Component\Annotation\PluginID; use Drupal\Core\Annotation\Translation; /** * Defines a join test plugin. * - * @Plugin( - * id = "join_test", - * title = @Translation("Join test") - * ) + * @PluginID("join_test") */ class JoinTest extends JoinPluginBase { /** diff --git a/core/modules/views/views.services.yml b/core/modules/views/views.services.yml index 9865a853d06..7263f671433 100644 --- a/core/modules/views/views.services.yml +++ b/core/modules/views/views.services.yml @@ -3,10 +3,10 @@ services: class: Drupal\views\Plugin\ViewsPluginManager arguments: [access, '%container.namespaces%'] plugin.manager.views.area: - class: Drupal\views\Plugin\ViewsPluginManager + 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 @@ -27,13 +27,13 @@ services: class: Drupal\views\Plugin\ViewsPluginManager arguments: [exposed_form, '%container.namespaces%'] plugin.manager.views.field: - class: Drupal\views\Plugin\ViewsPluginManager + class: Drupal\views\Plugin\ViewsHandlerManager arguments: [field, '%container.namespaces%'] plugin.manager.views.filter: - class: Drupal\views\Plugin\ViewsPluginManager + class: Drupal\views\Plugin\ViewsHandlerManager arguments: [filter, '%container.namespaces%'] plugin.manager.views.join: - class: Drupal\views\Plugin\ViewsPluginManager + class: Drupal\views\Plugin\ViewsHandlerManager arguments: [join, '%container.namespaces%'] plugin.manager.views.pager: class: Drupal\views\Plugin\ViewsPluginManager @@ -42,13 +42,13 @@ services: class: Drupal\views\Plugin\ViewsPluginManager arguments: [query, '%container.namespaces%'] plugin.manager.views.relationship: - class: Drupal\views\Plugin\ViewsPluginManager + class: Drupal\views\Plugin\ViewsHandlerManager arguments: [relationship, '%container.namespaces%'] plugin.manager.views.row: class: Drupal\views\Plugin\ViewsPluginManager arguments: [row, '%container.namespaces%'] plugin.manager.views.sort: - class: Drupal\views\Plugin\ViewsPluginManager + class: Drupal\views\Plugin\ViewsHandlerManager arguments: [sort, '%container.namespaces%'] plugin.manager.views.style: class: Drupal\views\Plugin\ViewsPluginManager