function FieldHandlerInterface::getElements

Same name in other branches
  1. 9 core/modules/views/src/Plugin/views/field/FieldHandlerInterface.php \Drupal\views\Plugin\views\field\FieldHandlerInterface::getElements()
  2. 8.9.x core/modules/views/src/Plugin/views/field/FieldHandlerInterface.php \Drupal\views\Plugin\views\field\FieldHandlerInterface::getElements()
  3. 11.x 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 80

Class

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

Namespace

Drupal\views\Plugin\views\field

Code

public function getElements();

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