public function WorkflowItem::isEmpty in Workflow 8
Determines whether the data structure is empty.
Return value
bool TRUE if the data structure is empty, FALSE otherwise.
Overrides ListItemBase::isEmpty
File
- src/
Plugin/ Field/ FieldType/ WorkflowItem.php, line 130
Class
- WorkflowItem
- Plugin implementation of the 'workflow' field type.
Namespace
Drupal\workflow\Plugin\Field\FieldTypeCode
public function isEmpty() {
$is_empty = empty($this->value);
return $is_empty;
}