public function BaseFieldDefinition::setRevisionable
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\FieldCode
public function setRevisionable($revisionable) { $this->definition['revisionable'] = $revisionable; return $this; }
© 2001–2016 by the original authors
Licensed under the GNU General Public License, version 2 and later.
Drupal is a registered trademark of Dries Buytaert.
https://api.drupal.org/api/drupal/core!lib!Drupal!Core!Field!BaseFieldDefinition.php/function/BaseFieldDefinition::setRevisionable/8.1.x