You are here

public function ChartConfigItem::isEmpty in Charts 8.4

Same name and namespace in other branches
  1. 5.0.x 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\FieldType

Code

public function isEmpty() {
  return empty($this->config);
}