Skip to main content
Drupal API
User account menu
  • Log in

Breadcrumb

  1. Drupal Core 11.1.x
  2. FieldHandlerInterface.php

function FieldHandlerInterface::elementClasses

Returns the class of the field.

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::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 89

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);

API Navigation

  • Drupal Core 11.1.x
  • Topics
  • Classes
  • Functions
  • Constants
  • Globals
  • Files
  • Namespaces
  • Deprecated
  • Services
RSS feed
Powered by Drupal