Support from Acquia helps fund testing for Drupal Acquia logo

Comments

dawehner’s picture

Status: Active » Needs review
FileSize
9.41 KB

Here is a first version for that.

dawehner’s picture

Issue tags: +VDC

.

Status: Needs review » Needs work

The last submitted patch, 1744334-uses_fields_row_class_plugin.patch, failed testing.

dawehner’s picture

Status: Needs work » Needs review
FileSize
9.39 KB

Tim found the problem with calling !empty()

Here is a new version of the patch

Status: Needs review » Needs work

The last submitted patch, 1744334-uses_fields_row_class_plugin-4.patch, failed testing.

dawehner’s picture

Title: Convert uses_row_class, uses_row_plugin, and uses_fields » Move uses_row_class, uses_row_plugin, and uses_fields from plugin annotation to a class property
Status: Needs work » Needs review
FileSize
10.92 KB

I had missing one of them, but hey that's what we have tests for.

dawehner’s picture

FileSize
931 bytes

.

Status: Needs review » Needs work

The last submitted patch, 1744334-uses_fields_row_class_plugin-6.patch, failed testing.

dawehner’s picture

Status: Needs work » Needs review
FileSize
16.72 KB
21.8 KB

Updated to use camelCase.

tim.plunkett’s picture

Status: Needs review » Reviewed & tested by the community

This looks good to me. At first I was confused by the 'uses_fields' in lib/Drupal/views/Plugin/views/style/StylePluginBase.php, but those are for a form field!

tim.plunkett’s picture

Status: Reviewed & tested by the community » Fixed

Committed.

Status: Fixed » Closed (fixed)

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

xjm’s picture

Status: Closed (fixed) » Active
Issue tags: +Needs change record
xjm’s picture

Title: Move uses_row_class, uses_row_plugin, and uses_fields from plugin annotation to a class property » [Change notice] Move uses_row_class, uses_row_plugin, and uses_fields from plugin annotation to a class property
Issue tags: -Needs change record
xjm’s picture

Issue tags: +Needs change record
Chris Matthews’s picture

Project: Views (for Drupal 7) » Drupal core
Version: 8.x-3.x-dev » 8.7.x-dev
Component: Code » views.module
Issue summary: View changes

For more information as to why this issue was moved to the Drupal core project, please see issue #3030347: Plan to clean process issue queue

Chris Matthews’s picture

Project: Drupal core » Views (for Drupal 7)
Version: 8.7.x-dev » 7.x-3.x-dev
Component: views.module » Code
Status: Active » Closed (outdated)

Moving back to the contributed Views issue queue and closing as outdated per https://www.drupal.org/project/views/issues/3030347#comment-13023447