public function ChartConfigItem::isEmpty in Charts 5.0.x
Same name and namespace in other branches
- 8.4 src/Plugin/Field/FieldType/ChartConfigItem.php \Drupal\charts\Plugin\Field\FieldType\ChartConfigItem::isEmpty()
Determines whether the data structure is empty.
Return value
bool TRUE if the data structure is empty, FALSE otherwise.
Overrides Map::isEmpty
File
- src/
Plugin/ Field/ FieldType/ ChartConfigItem.php, line 78
Class
- ChartConfigItem
- Plugin implementation of the 'chart_config' field type.
Namespace
Drupal\charts\Plugin\Field\FieldTypeCode
public function isEmpty() {
return empty($this->config);
}