You are here

public function ContentEntityTypeInterface::getRevisionMetadataKeys in Drupal 9

Same name and namespace in other branches
  1. 8 core/lib/Drupal/Core/Entity/ContentEntityTypeInterface.php \Drupal\Core\Entity\ContentEntityTypeInterface::getRevisionMetadataKeys()

Gets an array of entity revision metadata keys.

Return value

array An array describing how the Field API can extract revision metadata information of this entity type:

  • revision_log_message: The name of the property that contains description of the changes that were made in the current revision.
  • revision_user: The name of the property that contains the user ID of the author of the current revision.
  • revision_created: The name of the property that contains the timestamp of the current revision.
1 method overrides ContentEntityTypeInterface::getRevisionMetadataKeys()
ContentEntityType::getRevisionMetadataKeys in core/lib/Drupal/Core/Entity/ContentEntityType.php
Gets an array of entity revision metadata keys.

File

core/lib/Drupal/Core/Entity/ContentEntityTypeInterface.php, line 23

Class

ContentEntityTypeInterface
Provides an interface for a content entity type and its metadata.

Namespace

Drupal\Core\Entity

Code

public function getRevisionMetadataKeys();