function FieldHandlerInterface::elementType
Returns an HTML element based upon the field's element type.
Parameters
bool $none_supported: (optional) Whether or not this HTML element is supported. Defaults to FALSE.
bool $default_empty: (optional) Whether or not this HTML element is empty by default. Defaults to FALSE.
bool $inline: (optional) Whether or not this HTML element is inline. Defaults to FALSE.
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 47  
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);
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.