public function FieldHandlerInterface::elementType in Drupal 9
Same name and namespace in other branches
- 8 core/modules/views/src/Plugin/views/field/FieldHandlerInterface.php \Drupal\views\Plugin\views\field\FieldHandlerInterface::elementType()
Returns an HTML element 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.
bool $inline: Whether or not this HTML element is inline.
1 method overrides FieldHandlerInterface::elementType()
- FieldPluginBase::elementType in core/
modules/ views/ src/ Plugin/ views/ field/ FieldPluginBase.php - Returns an HTML element based upon the field's element type.
File
- core/
modules/ views/ src/ Plugin/ views/ field/ FieldHandlerInterface.php, line 45
Class
- FieldHandlerInterface
- Base field handler that has no options and renders an unformatted field.
Namespace
Drupal\views\Plugin\views\fieldCode
public function elementType($none_supported = FALSE, $default_empty = FALSE, $inline = FALSE);