You are here

public function FieldStorageDefinitionInterface::isRevisionable in Drupal 8

Same name and namespace in other branches
  1. 9 core/lib/Drupal/Core/Field/FieldStorageDefinitionInterface.php \Drupal\Core\Field\FieldStorageDefinitionInterface::isRevisionable()
  2. 10 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.

2 methods override FieldStorageDefinitionInterface::isRevisionable()
BaseFieldDefinition::isRevisionable in core/lib/Drupal/Core/Field/BaseFieldDefinition.php
Returns whether the field storage is revisionable.
FieldStorageConfig::isRevisionable in core/modules/field/src/Entity/FieldStorageConfig.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();