function FieldStorageDefinitionInterface::isRevisionable
Same name in other branches
- 9 core/lib/Drupal/Core/Field/FieldStorageDefinitionInterface.php \Drupal\Core\Field\FieldStorageDefinitionInterface::isRevisionable()
- 8.9.x core/lib/Drupal/Core/Field/FieldStorageDefinitionInterface.php \Drupal\Core\Field\FieldStorageDefinitionInterface::isRevisionable()
- 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
File
-
core/
lib/ Drupal/ Core/ Field/ FieldStorageDefinitionInterface.php, line 109
Class
- FieldStorageDefinitionInterface
- Defines an interface for entity field storage definitions.
Namespace
Drupal\Core\FieldCode
public function isRevisionable();
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.