You are here

public function FieldHandlerInterface::elementClasses in Drupal 9

Same name and namespace in other branches
  1. 8 core/modules/views/src/Plugin/views/field/FieldHandlerInterface.php \Drupal\views\Plugin\views\field\FieldHandlerInterface::elementClasses()
  2. 10 core/modules/views/src/Plugin/views/field/FieldHandlerInterface.php \Drupal\views\Plugin\views\field\FieldHandlerInterface::elementClasses()

Returns the class of the field.

Parameters

bool $row_index: The index of current row.

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

File

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

Class

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

Namespace

Drupal\views\Plugin\views\field

Code

public function elementClasses($row_index = NULL);