function FieldHandlerInterface::elementLabelClasses

Same name in other branches
  1. 9 core/modules/views/src/Plugin/views/field/FieldHandlerInterface.php \Drupal\views\Plugin\views\field\FieldHandlerInterface::elementLabelClasses()
  2. 8.9.x core/modules/views/src/Plugin/views/field/FieldHandlerInterface.php \Drupal\views\Plugin\views\field\FieldHandlerInterface::elementLabelClasses()
  3. 11.x core/modules/views/src/Plugin/views/field/FieldHandlerInterface.php \Drupal\views\Plugin\views\field\FieldHandlerInterface::elementLabelClasses()

Returns the class of the field's label.

Parameters

int|null $row_index: (optional) Index of the row element. If NULL the last row is used. Defaults to NULL.

1 method overrides FieldHandlerInterface::elementLabelClasses()
FieldPluginBase::elementLabelClasses in core/modules/views/src/Plugin/views/field/FieldPluginBase.php
Returns the class of the field's label.

File

core/modules/views/src/Plugin/views/field/FieldHandlerInterface.php, line 112

Class

FieldHandlerInterface
Base field handler that has no options and renders an unformatted field.

Namespace

Drupal\views\Plugin\views\field

Code

public function elementLabelClasses($row_index = NULL);

Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.