public function ContentEntityType::getRevisionMetadataKeys in Drupal 9
Same name and namespace in other branches
- 8 core/lib/Drupal/Core/Entity/ContentEntityType.php \Drupal\Core\Entity\ContentEntityType::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.
Overrides ContentEntityTypeInterface::getRevisionMetadataKeys
2 calls to ContentEntityType::getRevisionMetadataKeys()
- ContentEntityType::getRevisionMetadataKey in core/
lib/ Drupal/ Core/ Entity/ ContentEntityType.php - Gets a specific entity revision metadata key.
- ContentEntityType::hasRevisionMetadataKey in core/
lib/ Drupal/ Core/ Entity/ ContentEntityType.php - Indicates if a given entity revision metadata key exists.
File
- core/
lib/ Drupal/ Core/ Entity/ ContentEntityType.php, line 59
Class
- ContentEntityType
- Provides an implementation of a content entity type and its metadata.
Namespace
Drupal\Core\EntityCode
public function getRevisionMetadataKeys() {
return $this->revision_metadata_keys;
}