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

Breadcrumb

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

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

API Navigation

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