You are here

public function FieldHandlerInterface::getElements 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::getElements()
  2. 10 core/modules/views/src/Plugin/views/field/FieldHandlerInterface.php \Drupal\views\Plugin\views\field\FieldHandlerInterface::getElements()

Provides a list of elements valid for field HTML.

This function can be overridden by fields that want more or fewer elements available, though this seems like it would be an incredibly rare occurrence.

1 method overrides FieldHandlerInterface::getElements()
FieldPluginBase::getElements in core/modules/views/src/Plugin/views/field/FieldPluginBase.php
Provides a list of elements valid for field HTML.

File

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

Class

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

Namespace

Drupal\views\Plugin\views\field

Code

public function getElements();