You are here

protected function SqlContentEntityStorage::storageDefinitionIsDeleted in Drupal 8

Determines whether the passed field has been already deleted.

Parameters

\Drupal\Core\Field\FieldStorageDefinitionInterface $storage_definition: The field storage definition.

Return value

bool Whether the field has been already deleted.

Deprecated

in drupal:8.5.0 and is removed from drupal:9.0.0. Use \Drupal\Core\Field\FieldStorageDefinitionInterface::isDeleted() instead.

See also

https://www.drupal.org/node/2907785

File

core/lib/Drupal/Core/Entity/Sql/SqlContentEntityStorage.php, line 1827

Class

SqlContentEntityStorage
A content entity database storage implementation.

Namespace

Drupal\Core\Entity\Sql

Code

protected function storageDefinitionIsDeleted(FieldStorageDefinitionInterface $storage_definition) {
  return $storage_definition
    ->isDeleted();
}