public function ExtraFieldDisplayFormattedInterface::isEmpty in Extra Field 8
Same name and namespace in other branches
- 8.2 src/Plugin/ExtraFieldDisplayFormattedInterface.php \Drupal\extra_field\Plugin\ExtraFieldDisplayFormattedInterface::isEmpty()
Check if the extra field has data.
Return value
bool True if the field has no actual data to render. False if it only contains non-visible render elements such as #cache and #attached.
1 method overrides ExtraFieldDisplayFormattedInterface::isEmpty()
- ExtraFieldDisplayFormattedBase::isEmpty in src/
Plugin/ ExtraFieldDisplayFormattedBase.php - Check if the extra field has data.
File
- src/
Plugin/ ExtraFieldDisplayFormattedInterface.php, line 70
Class
- ExtraFieldDisplayFormattedInterface
- Defines an interface for Extra Field Display plugins.
Namespace
Drupal\extra_field\PluginCode
public function isEmpty();