You are here

public function FieldStorageDefinitionInterface::isRevisionable in Drupal 10

Same name and namespace in other branches
  1. 8 core/lib/Drupal/Core/Field/FieldStorageDefinitionInterface.php \Drupal\Core\Field\FieldStorageDefinitionInterface::isRevisionable()
  2. 9 core/lib/Drupal/Core/Field/FieldStorageDefinitionInterface.php \Drupal\Core\Field\FieldStorageDefinitionInterface::isRevisionable()

Returns whether the field storage is revisionable.

Note that if the entity type is revisionable and the field storage has a cardinality higher than 1, the field storage is considered revisionable by default.

Return value

bool TRUE if the field is revisionable.

1 method overrides FieldStorageDefinitionInterface::isRevisionable()
BaseFieldDefinition::isRevisionable in core/lib/Drupal/Core/Field/BaseFieldDefinition.php
Returns whether the field storage is revisionable.

File

core/lib/Drupal/Core/Field/FieldStorageDefinitionInterface.php, line 109

Class

FieldStorageDefinitionInterface
Defines an interface for entity field storage definitions.

Namespace

Drupal\Core\Field

Code

public function isRevisionable();