Commit 9b346634 authored by webchick's avatar webchick

Issue #1817554 by damiankloip: Review and improve naming of entity specific row plugins.

parent d3728cbf
......@@ -2,12 +2,12 @@
/**
* @file
* Definition of Drupal\comment\Plugin\views\row\View.
* Definition of Drupal\comment\Plugin\views\row\CommentRow.
*/
namespace Drupal\comment\Plugin\views\row;
use Drupal\system\Plugin\views\row\Entity;
use Drupal\system\Plugin\views\row\EntityRow;
use Drupal\Core\Annotation\Plugin;
use Drupal\Core\Annotation\Translation;
......@@ -25,7 +25,7 @@
* type = "normal"
* )
*/
class View extends Entity {
class CommentRow extends EntityRow {
/**
* Overrides Drupal\system\Plugin\views\row\Entity::defineOptions().
......
......@@ -2,7 +2,7 @@
/**
* @file
* Definition of Drupal\node\Plugin\views\row\View.
* Definition of Drupal\node\Plugin\views\row\NodeRow.
*/
namespace Drupal\node\Plugin\views\row;
......@@ -10,7 +10,7 @@
use Drupal\views\ViewExecutable;
use Drupal\Core\Annotation\Plugin;
use Drupal\Core\Annotation\Translation;
use Drupal\system\Plugin\views\row\Entity;
use Drupal\system\Plugin\views\row\EntityRow;
/**
* Plugin which performs a node_view on the resulting object.
......@@ -29,7 +29,7 @@
* type = "normal"
* )
*/
class View extends Entity {
class NodeRow extends EntityRow {
/**
* Overrides Drupal\system\Plugin\views\row\Entity::defineOptions().
......
......@@ -2,7 +2,7 @@
/**
* @file
* Definition of Drupal\search\Plugin\views\row\View.
* Definition of Drupal\search\Plugin\views\row\SearchRow.
*/
namespace Drupal\search\Plugin\views\row;
......@@ -21,7 +21,7 @@
* no_uid = TRUE
* )
*/
class View extends RowPluginBase {
class SearchRow extends RowPluginBase {
protected function defineOptions() {
$options = parent::defineOptions();
......
......@@ -2,7 +2,7 @@
/**
* @file
* Definition of Drupal\system\Plugin\views\row\Entity.
* Definition of Drupal\system\Plugin\views\row\EntityRow.
*/
namespace Drupal\system\Plugin\views\row;
......@@ -13,8 +13,7 @@
/**
* Generic entity row plugin to provide a common base for all entity types.
*/
class Entity extends RowPluginBase {
protected $entityInfo1;
class EntityRow extends RowPluginBase {
/**
* The table the entity is using for storage.
......
......@@ -2,12 +2,12 @@
/**
* @file
* Definition of Drupal\user\Plugin\views\row\View
* Definition of Drupal\user\Plugin\views\row\UserRow.
*/
namespace Drupal\user\Plugin\views\row;
use Drupal\system\Plugin\views\row\Entity;
use Drupal\system\Plugin\views\row\EntityRow;
use Drupal\Core\Annotation\Plugin;
use Drupal\Core\Annotation\Translation;
......@@ -26,7 +26,7 @@
* type = "normal"
* )
*/
class View extends Entity {
class UserRow extends EntityRow {
/**
* Overrides Drupal\system\Plugin\views\row\Entity::defineOptions().
......
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