function RevisionableContentEntityBase::baseFieldDefinitions
Same name and namespace in other branches
- 11.x core/lib/Drupal/Core/Entity/RevisionableContentEntityBase.php \Drupal\Core\Entity\RevisionableContentEntityBase::baseFieldDefinitions()
File
-
core/
lib/ Drupal/ Core/ Entity/ RevisionableContentEntityBase.php, line 21
Class
- RevisionableContentEntityBase
- Provides a content entity with extended support for revisions.
Namespace
Drupal\Core\EntityCode
public static function baseFieldDefinitions(EntityTypeInterface $entity_type) {
$fields = parent::baseFieldDefinitions($entity_type);
$fields += static::revisionLogBaseFieldDefinitions($entity_type);
return $fields;
}
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.