public function BaseFieldDefinition::isRevisionable in Zircon Profile 8
Same name and namespace in other branches
- 8.0 core/lib/Drupal/Core/Field/BaseFieldDefinition.php \Drupal\Core\Field\BaseFieldDefinition::isRevisionable()
Returns whether the field is revisionable.
Return value
bool TRUE if the field is revisionable.
Overrides FieldStorageDefinitionInterface::isRevisionable
File
- core/
lib/ Drupal/ Core/ Field/ BaseFieldDefinition.php, line 241 - Contains \Drupal\Core\Field\BaseFieldDefinition.
Class
- BaseFieldDefinition
- A class for defining entity fields.
Namespace
Drupal\Core\FieldCode
public function isRevisionable() {
return !empty($this->definition['revisionable']);
}