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 @@
*
* @ViewsRow(
* id = "aggregator_rss",
* module = "aggregator",
* theme = "views_view_row_rss",
* title = @Translation("Aggregator item"),
* help = @Translation("Display the aggregator item using the data from the original source."),
......
......@@ -20,7 +20,6 @@
*
* @ViewsDisplay(
* id = "block",
* module = "block",
* title = @Translation("Block"),
* help = @Translation("Display the view as a block."),
* theme = "views_view",
......
......@@ -559,5 +559,5 @@ function comment_views_data_alter(&$data) {
*/
function comment_views_plugins_row_alter(array &$plugins) {
$plugins['entity:comment']['class'] = 'Drupal\comment\Plugin\views\row\CommentRow';
$plugins['entity:comment']['module'] = 'comment';
$plugins['entity:comment']['provider'] = 'comment';
}
......@@ -16,7 +16,6 @@
*
* @ViewsRow(
* id = "comment_rss",
* module = "comment",
* title = @Translation("Comment"),
* help = @Translation("Display the comment as RSS."),
* theme = "views_view_row_rss",
......
......@@ -20,7 +20,6 @@
*
* @ViewsWizard(
* id = "comment",
* module = "comment",
* base_table = "comment",
* title = @Translation("Comments")
* )
......
......@@ -16,7 +16,6 @@
*
* @ViewsWizard(
* id = "file_managed",
* module = "file",
* base_table = "file_managed",
* title = @Translation("Files")
* )
......
......@@ -18,7 +18,6 @@
*
* @ViewsArgumentDefault(
* id = "node",
* module = "node",
* title = @Translation("Content ID from URL")
* )
*/
......
......@@ -16,7 +16,6 @@
*
* @ViewsArgumentValidator(
* id = "node",
* module = "node",
* title = @Translation("Content")
* )
*/
......
......@@ -22,8 +22,7 @@
* theme = "views_view_row_rss",
* register_theme = FALSE,
* base = {"node"},
* display_types = {"feed"},
* module = "node"
* display_types = {"feed"}
* )
*/
class Rss extends RowPluginBase {
......
......@@ -20,7 +20,6 @@
*
* @ViewsWizard(
* id = "node",
* module = "node",
* base_table = "node",
* title = @Translation("Content")
* )
......
......@@ -20,7 +20,6 @@
*
* @ViewsWizard(
* id = "node_revision",
* module = "node",
* base_table = "node_field_revision",
* title = @Translation("Content revisions")
* )
......
......@@ -660,5 +660,5 @@ function node_views_wizard() {
*/
function node_views_plugins_row_alter(array &$plugins) {
$plugins['entity:node']['class'] = 'Drupal\node\Plugin\views\row\NodeRow';
$plugins['entity:node']['module'] = 'node';
$plugins['entity:node']['provider'] = 'node';
}
......@@ -17,7 +17,6 @@
*
* @ViewsArgumentDefault(
* id = "php",
* module = "php",
* title = @Translation("PHP Code")
* )
*/
......
......@@ -17,7 +17,6 @@
*
* @ViewsArgumentValidator(
* id = "php",
* module = "php",
* title = @Translation("PHP Code")
* )
*/
......
......@@ -25,7 +25,6 @@
*
* @ViewsDisplay(
* id = "rest_export",
* module = "rest",
* title = @Translation("REST export"),
* help = @Translation("Create a REST export resource."),
* uses_route = TRUE,
......
......@@ -19,7 +19,6 @@
*
* @ViewsRow(
* id = "data_entity",
* module = "rest",
* title = @Translation("Entity"),
* help = @Translation("Use entities as row data."),
* display_types = {"data"}
......
......@@ -20,7 +20,6 @@
*
* @ViewsRow(
* id = "data_field",
* module = "rest",
* title = @Translation("Fields"),
* help = @Translation("Use fields as row data."),
* display_types = {"data"}
......
......@@ -22,7 +22,6 @@
*
* @ViewsStyle(
* id = "serializer",
* module = "rest",
* title = @Translation("Serializer"),
* help = @Translation("Serializes views row data using the Serializer component."),
* display_types = {"data"}
......
......@@ -16,7 +16,6 @@
*
* @ViewsRow(
* id = "search_view",
* module = "search",
* title = @Translation("Search"),
* help = @Translation("Provides a row plugin to display search results.")
* )
......
......@@ -18,7 +18,6 @@
*
* @ViewsArgumentDefault(
* id = "taxonomy_tid",
* module = "taxonomy",
* 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