Commit 11eeb98b authored by alexpott's avatar alexpott
Browse files

Issue #2070609 by damiankloip, tstoeckler: Remove obsolete 'module' keys from...

Issue #2070609 by damiankloip, tstoeckler: Remove obsolete 'module' keys from Views plugin annotations.
parent 7470a188
...@@ -16,7 +16,6 @@ ...@@ -16,7 +16,6 @@
* *
* @ViewsRow( * @ViewsRow(
* id = "aggregator_rss", * id = "aggregator_rss",
* module = "aggregator",
* theme = "views_view_row_rss", * theme = "views_view_row_rss",
* title = @Translation("Aggregator item"), * title = @Translation("Aggregator item"),
* help = @Translation("Display the aggregator item using the data from the original source."), * help = @Translation("Display the aggregator item using the data from the original source."),
......
...@@ -20,7 +20,6 @@ ...@@ -20,7 +20,6 @@
* *
* @ViewsDisplay( * @ViewsDisplay(
* id = "block", * id = "block",
* module = "block",
* title = @Translation("Block"), * title = @Translation("Block"),
* help = @Translation("Display the view as a block."), * help = @Translation("Display the view as a block."),
* theme = "views_view", * theme = "views_view",
......
...@@ -559,5 +559,5 @@ function comment_views_data_alter(&$data) { ...@@ -559,5 +559,5 @@ function comment_views_data_alter(&$data) {
*/ */
function comment_views_plugins_row_alter(array &$plugins) { function comment_views_plugins_row_alter(array &$plugins) {
$plugins['entity:comment']['class'] = 'Drupal\comment\Plugin\views\row\CommentRow'; $plugins['entity:comment']['class'] = 'Drupal\comment\Plugin\views\row\CommentRow';
$plugins['entity:comment']['module'] = 'comment'; $plugins['entity:comment']['provider'] = 'comment';
} }
...@@ -16,7 +16,6 @@ ...@@ -16,7 +16,6 @@
* *
* @ViewsRow( * @ViewsRow(
* id = "comment_rss", * id = "comment_rss",
* module = "comment",
* title = @Translation("Comment"), * title = @Translation("Comment"),
* help = @Translation("Display the comment as RSS."), * help = @Translation("Display the comment as RSS."),
* theme = "views_view_row_rss", * theme = "views_view_row_rss",
......
...@@ -20,7 +20,6 @@ ...@@ -20,7 +20,6 @@
* *
* @ViewsWizard( * @ViewsWizard(
* id = "comment", * id = "comment",
* module = "comment",
* base_table = "comment", * base_table = "comment",
* title = @Translation("Comments") * title = @Translation("Comments")
* ) * )
......
...@@ -16,7 +16,6 @@ ...@@ -16,7 +16,6 @@
* *
* @ViewsWizard( * @ViewsWizard(
* id = "file_managed", * id = "file_managed",
* module = "file",
* base_table = "file_managed", * base_table = "file_managed",
* title = @Translation("Files") * title = @Translation("Files")
* ) * )
......
...@@ -18,7 +18,6 @@ ...@@ -18,7 +18,6 @@
* *
* @ViewsArgumentDefault( * @ViewsArgumentDefault(
* id = "node", * id = "node",
* module = "node",
* title = @Translation("Content ID from URL") * title = @Translation("Content ID from URL")
* ) * )
*/ */
......
...@@ -16,7 +16,6 @@ ...@@ -16,7 +16,6 @@
* *
* @ViewsArgumentValidator( * @ViewsArgumentValidator(
* id = "node", * id = "node",
* module = "node",
* title = @Translation("Content") * title = @Translation("Content")
* ) * )
*/ */
......
...@@ -22,8 +22,7 @@ ...@@ -22,8 +22,7 @@
* theme = "views_view_row_rss", * theme = "views_view_row_rss",
* register_theme = FALSE, * register_theme = FALSE,
* base = {"node"}, * base = {"node"},
* display_types = {"feed"}, * display_types = {"feed"}
* module = "node"
* ) * )
*/ */
class Rss extends RowPluginBase { class Rss extends RowPluginBase {
......
...@@ -20,7 +20,6 @@ ...@@ -20,7 +20,6 @@
* *
* @ViewsWizard( * @ViewsWizard(
* id = "node", * id = "node",
* module = "node",
* base_table = "node", * base_table = "node",
* title = @Translation("Content") * title = @Translation("Content")
* ) * )
......
...@@ -20,7 +20,6 @@ ...@@ -20,7 +20,6 @@
* *
* @ViewsWizard( * @ViewsWizard(
* id = "node_revision", * id = "node_revision",
* module = "node",
* base_table = "node_field_revision", * base_table = "node_field_revision",
* title = @Translation("Content revisions") * title = @Translation("Content revisions")
* ) * )
......
...@@ -660,5 +660,5 @@ function node_views_wizard() { ...@@ -660,5 +660,5 @@ function node_views_wizard() {
*/ */
function node_views_plugins_row_alter(array &$plugins) { function node_views_plugins_row_alter(array &$plugins) {
$plugins['entity:node']['class'] = 'Drupal\node\Plugin\views\row\NodeRow'; $plugins['entity:node']['class'] = 'Drupal\node\Plugin\views\row\NodeRow';
$plugins['entity:node']['module'] = 'node'; $plugins['entity:node']['provider'] = 'node';
} }
...@@ -17,7 +17,6 @@ ...@@ -17,7 +17,6 @@
* *
* @ViewsArgumentDefault( * @ViewsArgumentDefault(
* id = "php", * id = "php",
* module = "php",
* title = @Translation("PHP Code") * title = @Translation("PHP Code")
* ) * )
*/ */
......
...@@ -17,7 +17,6 @@ ...@@ -17,7 +17,6 @@
* *
* @ViewsArgumentValidator( * @ViewsArgumentValidator(
* id = "php", * id = "php",
* module = "php",
* title = @Translation("PHP Code") * title = @Translation("PHP Code")
* ) * )
*/ */
......
...@@ -25,7 +25,6 @@ ...@@ -25,7 +25,6 @@
* *
* @ViewsDisplay( * @ViewsDisplay(
* id = "rest_export", * id = "rest_export",
* module = "rest",
* title = @Translation("REST export"), * title = @Translation("REST export"),
* help = @Translation("Create a REST export resource."), * help = @Translation("Create a REST export resource."),
* uses_route = TRUE, * uses_route = TRUE,
......
...@@ -19,7 +19,6 @@ ...@@ -19,7 +19,6 @@
* *
* @ViewsRow( * @ViewsRow(
* id = "data_entity", * id = "data_entity",
* module = "rest",
* title = @Translation("Entity"), * title = @Translation("Entity"),
* help = @Translation("Use entities as row data."), * help = @Translation("Use entities as row data."),
* display_types = {"data"} * display_types = {"data"}
......
...@@ -20,7 +20,6 @@ ...@@ -20,7 +20,6 @@
* *
* @ViewsRow( * @ViewsRow(
* id = "data_field", * id = "data_field",
* module = "rest",
* title = @Translation("Fields"), * title = @Translation("Fields"),
* help = @Translation("Use fields as row data."), * help = @Translation("Use fields as row data."),
* display_types = {"data"} * display_types = {"data"}
......
...@@ -22,7 +22,6 @@ ...@@ -22,7 +22,6 @@
* *
* @ViewsStyle( * @ViewsStyle(
* id = "serializer", * id = "serializer",
* module = "rest",
* title = @Translation("Serializer"), * title = @Translation("Serializer"),
* help = @Translation("Serializes views row data using the Serializer component."), * help = @Translation("Serializes views row data using the Serializer component."),
* display_types = {"data"} * display_types = {"data"}
......
...@@ -16,7 +16,6 @@ ...@@ -16,7 +16,6 @@
* *
* @ViewsRow( * @ViewsRow(
* id = "search_view", * id = "search_view",
* module = "search",
* title = @Translation("Search"), * title = @Translation("Search"),
* help = @Translation("Provides a row plugin to display search results.") * help = @Translation("Provides a row plugin to display search results.")
* ) * )
......
...@@ -18,7 +18,6 @@ ...@@ -18,7 +18,6 @@
* *
* @ViewsArgumentDefault( * @ViewsArgumentDefault(
* id = "taxonomy_tid", * id = "taxonomy_tid",
* module = "taxonomy",
* title = @Translation("Taxonomy term ID from URL") * title = @Translation("Taxonomy term ID from URL")
* ) * )
*/ */
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment