You are here

public function FieldStorageConfig::isRevisionable in Drupal 8

Same name and namespace in other branches
  1. 9 core/modules/field/src/Entity/FieldStorageConfig.php \Drupal\field\Entity\FieldStorageConfig::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.

Overrides FieldStorageDefinitionInterface::isRevisionable

File

core/modules/field/src/Entity/FieldStorageConfig.php, line 594

Class

FieldStorageConfig
Defines the Field storage configuration entity.

Namespace

Drupal\field\Entity

Code

public function isRevisionable() {

  // All configurable fields are revisionable.
  return TRUE;
}