public BaseFieldDefinition::setRevisionable($revisionable)
Sets whether the field is revisionable.
Parameters
bool $revisionable: Whether the field is revisionable.
Return value
$this The object itself for chaining.
File
- core/lib/Drupal/Core/Field/BaseFieldDefinition.php, line 249
Class
- BaseFieldDefinition
- A class for defining entity fields.
Namespace
Drupal\Core\Field
Code
public function setRevisionable($revisionable) { $this->definition['revisionable'] = $revisionable; return $this; }
Please login to continue.