EditorialContentEntityBase.php in Drupal 8
File
core/lib/Drupal/Core/Entity/EditorialContentEntityBase.php
View source
<?php
namespace Drupal\Core\Entity;
abstract class EditorialContentEntityBase extends ContentEntityBase implements EntityChangedInterface, EntityPublishedInterface, RevisionLogInterface {
use EntityChangedTrait;
use EntityPublishedTrait;
use RevisionLogEntityTrait;
public static function baseFieldDefinitions(EntityTypeInterface $entity_type) {
$fields = parent::baseFieldDefinitions($entity_type);
$fields += static::revisionLogBaseFieldDefinitions($entity_type);
$fields += static::publishedBaseFieldDefinitions($entity_type);
return $fields;
}
}