Comments

damiankloip’s picture

Status: Active » Needs review
StatusFileSize
new4.65 KB
dawehner’s picture

Status: Needs review » Reviewed & tested by the community
+++ b/core/modules/views/lib/Drupal/views/Plugin/Derivative/ViewsEntityRow.phpundefined
@@ -27,6 +29,47 @@ class ViewsEntityRow implements DerivativeInterface {
+  public function __construct($base_plugin_id, EntityManager $entity_manager, ViewsData $views_data) {

Lets move the __construct method to the top, as it is more important that create.

dawehner’s picture

Status: Reviewed & tested by the community » Needs work
+++ b/core/modules/views/lib/Drupal/views/Plugin/Derivative/ViewsEntityRow.phpundefined
@@ -27,6 +29,47 @@ class ViewsEntityRow implements DerivativeInterface {
+  public function __construct($base_plugin_id, EntityManager $entity_manager, ViewsData $views_data) {

Lets move the __construct method to the top, as it is more important that create.

damiankloip’s picture

Status: Needs work » Needs review
StatusFileSize
new1.42 KB
new4.65 KB

Sure, phpstorm makes that take about...0.5 seconds :)

dawehner’s picture

+++ b/core/modules/views/lib/Drupal/views/Plugin/Derivative/ViewsEntityRow.phpundefined
@@ -27,6 +29,47 @@ class ViewsEntityRow implements DerivativeInterface {
+   * The entity plugin manager.
...
+   *   The entity plugin manager.

Lets call it entity manager

dawehner’s picture

Status: Needs review » Needs work
damiankloip’s picture

Status: Needs work » Needs review
StatusFileSize
new952 bytes
new4.63 KB

consistency is king.

dawehner’s picture

Status: Needs review » Reviewed & tested by the community

Thank you!

alexpott’s picture

Status: Reviewed & tested by the community » Needs work
+++ b/core/modules/views/lib/Drupal/views/Plugin/Derivative/ViewsEntityRow.phpundefined
@@ -27,6 +29,47 @@ class ViewsEntityRow implements DerivativeInterface {
+    $this->basePluginId = $base_plugin_id;

Missing @var documentation and protected scope

damiankloip’s picture

Status: Needs work » Needs review
StatusFileSize
new2.08 KB
new4.76 KB
dawehner’s picture

Status: Needs review » Reviewed & tested by the community

Another one.

alexpott’s picture

Status: Reviewed & tested by the community » Fixed

Committed 2e29f25 and pushed to 8.x. Thanks!

Automatically closed -- issue fixed for 2 weeks with no activity.