public function ExtraFieldDisplayFormattedBase::isEmpty in Extra Field 8.2
Same name and namespace in other branches
- 8 src/Plugin/ExtraFieldDisplayFormattedBase.php \Drupal\extra_field\Plugin\ExtraFieldDisplayFormattedBase::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.
Overrides ExtraFieldDisplayFormattedInterface::isEmpty
1 call to ExtraFieldDisplayFormattedBase::isEmpty()
- ExtraFieldDisplayFormattedBase::view in src/
Plugin/ ExtraFieldDisplayFormattedBase.php - Builds a renderable array for the field.
File
- src/
Plugin/ ExtraFieldDisplayFormattedBase.php, line 133
Class
- ExtraFieldDisplayFormattedBase
- Base class for Extra field Display plugins with field wrapper output.
Namespace
Drupal\extra_field\PluginCode
public function isEmpty() {
return $this->isEmpty;
}