You are here

public function BaseFieldDefinition::isDeleted in Drupal 8

Same name and namespace in other branches
  1. 9 core/lib/Drupal/Core/Field/BaseFieldDefinition.php \Drupal\Core\Field\BaseFieldDefinition::isDeleted()

Returns whether the field is deleted or not.

Return value

bool TRUE if the field is deleted, FALSE otherwise.

Overrides FieldStorageDefinitionInterface::isDeleted

File

core/lib/Drupal/Core/Field/BaseFieldDefinition.php, line 804

Class

BaseFieldDefinition
A class for defining entity fields.

Namespace

Drupal\Core\Field

Code

public function isDeleted() {
  return !empty($this->definition['deleted']);
}