function FieldHandlerInterface::elementWrapperType

Same name and namespace in other branches
  1. 8.9.x core/modules/views/src/Plugin/views/field/FieldHandlerInterface.php \Drupal\views\Plugin\views\field\FieldHandlerInterface::elementWrapperType()
  2. 10 core/modules/views/src/Plugin/views/field/FieldHandlerInterface.php \Drupal\views\Plugin\views\field\FieldHandlerInterface::elementWrapperType()
  3. 11.x core/modules/views/src/Plugin/views/field/FieldHandlerInterface.php \Drupal\views\Plugin\views\field\FieldHandlerInterface::elementWrapperType()

Returns an HTML element for the wrapper based upon the field's element type.

Parameters

bool $none_supported: Whether or not this HTML element is supported.

bool $default_empty: Whether or not this HTML element is empty by default.

1 method overrides FieldHandlerInterface::elementWrapperType()
FieldPluginBase::elementWrapperType in core/modules/views/src/Plugin/views/field/FieldPluginBase.php
Returns an HTML element for the wrapper based upon the field's element type.

File

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

Class

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

Namespace

Drupal\views\Plugin\views\field

Code

public function elementWrapperType($none_supported = FALSE, $default_empty = FALSE);

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