diff --git a/lib/Drupal/views/Plugin/views/access/AccessPluginBase.php b/lib/Drupal/views/Plugin/views/access/AccessPluginBase.php index a25322339f2dab7e751c1c072b9f817560c6e9eb..81ad2193b4dfcce74be54aa1e25a79d5acf53846 100644 --- a/lib/Drupal/views/Plugin/views/access/AccessPluginBase.php +++ b/lib/Drupal/views/Plugin/views/access/AccessPluginBase.php @@ -17,8 +17,6 @@ * * Therefore it primarily has to implement the access and the get_access_callback * method. - * - * @see hook_views_plugins() */ /** diff --git a/lib/Drupal/views/Plugin/views/argument_default/ArgumentDefaultPluginBase.php b/lib/Drupal/views/Plugin/views/argument_default/ArgumentDefaultPluginBase.php index 5465f0e4383f2de3724c317fe28226a836bf9ca1..c957e309c4edfa866d6cfac1c8313bb0ec0b9330 100644 --- a/lib/Drupal/views/Plugin/views/argument_default/ArgumentDefaultPluginBase.php +++ b/lib/Drupal/views/Plugin/views/argument_default/ArgumentDefaultPluginBase.php @@ -14,8 +14,6 @@ * @defgroup views_argument_default_plugins Views argument default plugins * @{ * Allow specialized methods of filling in arguments when they aren't provided. - * - * @see hook_views_plugins() */ /** diff --git a/lib/Drupal/views/Plugin/views/argument_validator/ArgumentValidatorPluginBase.php b/lib/Drupal/views/Plugin/views/argument_validator/ArgumentValidatorPluginBase.php index c14be5f59714f618dd469c262ae53be53b0b1e5f..9d9d92ce3f0d800037589eb3da46e15ea1db0aef 100644 --- a/lib/Drupal/views/Plugin/views/argument_validator/ArgumentValidatorPluginBase.php +++ b/lib/Drupal/views/Plugin/views/argument_validator/ArgumentValidatorPluginBase.php @@ -14,8 +14,6 @@ * @defgroup views_argument_validate_plugins Views argument validate plugins * @{ * Allow specialized methods of validating arguments. - * - * @see hook_views_plugins() */ /** diff --git a/lib/Drupal/views/Plugin/views/cache/CachePluginBase.php b/lib/Drupal/views/Plugin/views/cache/CachePluginBase.php index a236d8073e21fe4c5bf6b124646234254f7f856e..400fd0c0319f3ca3834cef1724f8c66ba18bc78f 100644 --- a/lib/Drupal/views/Plugin/views/cache/CachePluginBase.php +++ b/lib/Drupal/views/Plugin/views/cache/CachePluginBase.php @@ -19,8 +19,6 @@ * * Cache plugins can handle both caching of just the database result and * the rendered output of the view. - * - * @see hook_views_plugins() */ /** diff --git a/lib/Drupal/views/Plugin/views/display/DisplayPluginBase.php b/lib/Drupal/views/Plugin/views/display/DisplayPluginBase.php index e17636bd1fc7b26638b5c053bffb4000063d036d..5c58c5748157db90e67f169327b2bc1afda24e19 100644 --- a/lib/Drupal/views/Plugin/views/display/DisplayPluginBase.php +++ b/lib/Drupal/views/Plugin/views/display/DisplayPluginBase.php @@ -19,8 +19,6 @@ * handle creating Views from a Drupal block hook. They can also * handle creating Views from an external module source, such as * a Panels pane, or an insert view, or a CCK field type. - * - * @see hook_views_plugins() */ /** diff --git a/lib/Drupal/views/Plugin/views/exposed_form/ExposedFormPluginBase.php b/lib/Drupal/views/Plugin/views/exposed_form/ExposedFormPluginBase.php index c583d65ee004aac3f7092d3151a174d882c75c47..4cad847dcbcafb68098995fb4b1c990d7fa8e424 100644 --- a/lib/Drupal/views/Plugin/views/exposed_form/ExposedFormPluginBase.php +++ b/lib/Drupal/views/Plugin/views/exposed_form/ExposedFormPluginBase.php @@ -16,8 +16,6 @@ * Plugins that handle the validation/submission and rendering of exposed forms. * * If needed, it is possible to use them to add additional form elements. - * - * @see hook_views_plugins() */ /** diff --git a/lib/Drupal/views/Plugin/views/pager/PagerPluginBase.php b/lib/Drupal/views/Plugin/views/pager/PagerPluginBase.php index 11b8724c7676dbbfdb1796b3023434a513cda7bf..82387b73cdb5f29f220f51b86312d4edc9651fa0 100644 --- a/lib/Drupal/views/Plugin/views/pager/PagerPluginBase.php +++ b/lib/Drupal/views/Plugin/views/pager/PagerPluginBase.php @@ -17,8 +17,6 @@ * * The pager takes care about altering the query for its needs, altering some * global information of pagers and finally rendering itself. - * - * @see hook_views_plugins() */ /** diff --git a/lib/Drupal/views/Plugin/views/row/RowPluginBase.php b/lib/Drupal/views/Plugin/views/row/RowPluginBase.php index 2e4fe83f0efa9d8adfc4799126268bdecd9ad6cd..97a6656511a83a757b54a1a83fb7a198925376eb 100644 --- a/lib/Drupal/views/Plugin/views/row/RowPluginBase.php +++ b/lib/Drupal/views/Plugin/views/row/RowPluginBase.php @@ -17,8 +17,6 @@ * * They are tightly coupled to style plugins, in that a style plugin is what * calls the row plugin. - * - * @see hook_views_plugins() */ /** diff --git a/lib/Drupal/views/Plugin/views/style/StylePluginBase.php b/lib/Drupal/views/Plugin/views/style/StylePluginBase.php index 65c83d84ff2787523446217aaa38fd04c7a2cf43..ee8081d557fba208b9204a7a4140da528b28a012 100644 --- a/lib/Drupal/views/Plugin/views/style/StylePluginBase.php +++ b/lib/Drupal/views/Plugin/views/style/StylePluginBase.php @@ -23,8 +23,6 @@ * Many style plugins can have an optional 'row' plugin, that displays * a single record. Not all style plugins can utilize this, so it is * up to the plugin to set this up and call through to the row plugin. - * - * @see hook_views_plugins() */ /** diff --git a/views.module b/views.module index 3d2d1c4e9aea8ec383bd123d1d02b82c8fa5d0aa..4ead28bd9bb1a7fc837dd41e4201a9623543c49c 100644 --- a/views.module +++ b/views.module @@ -858,10 +858,9 @@ function views_add_block_contextual_links(&$block, ViewExecutable $view, $displa * defined any contextual links that are intended to be displayed in the * requested location; if so, it attaches them. The contextual links intended * for a particular location are defined by the 'contextual links' and - * 'contextual_links_locations' properties in hook_views_plugins() and - * hook_views_plugins_alter(); as a result, these hook implementations have - * full control over where and how contextual links are rendered for each - * display. + * 'contextual_links_locations' properties in the plugin annotation; as a + * result, these hook implementations have full control over where and how + * contextual links are rendered for each display. * * In addition to attaching the contextual links to the passed-in array (via * the standard #contextual_links property), this function also attaches @@ -897,16 +896,14 @@ function views_add_block_contextual_links(&$block, ViewExecutable $view, $displa * view. * If you are rendering a view and its contextual links in another location, * you can pass in a different value for this parameter. However, you will - * also need to use hook_views_plugins() or hook_views_plugins_alter() to - * declare, via the 'contextual_links_locations' array key, which view - * displays support having their contextual links rendered in the location - * you have defined. + * also need to set 'contextual_links_locations' in your plugin annotation to + * indicate which view displays support having their contextual links + * rendered in the location you have defined. * @param $view * The view whose contextual links will be added. * @param $display_id * The ID of the display within $view whose contextual links will be added. * - * @see hook_views_plugins() * @see views_block_view() * @see views_page_alter() * @see template_preprocess_views_view()