use EntityChangedTrait;
use EntityPublishedTrait;
use RevisionLogEntityTrait;
/**
* {@inheritdoc}
*/
public static function baseFieldDefinitions(EntityTypeInterface
$entity_type) { $fields = parent::
baseFieldDefinitions($entity_type);
// Add the revision metadata fields.
$fields +=
static::
revisionLogBaseFieldDefinitions($entity_type);
// Add the published field.
$fields +=
static::
publishedBaseFieldDefinitions($entity_type);
return $fields;
}}