public function ButtonField::isEmpty in Button Field 8
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/ ButtonField.php, line 63 - Contains Drupal\button_field\Plugin\Field\FieldType\ButtonField.
Class
- ButtonField
- Plugin implementation of the 'button_field' field type.
Namespace
Drupal\button_field\Plugin\Field\FieldTypeCode
public function isEmpty() {
return TRUE;
}