function ContentEntityTypeInterface::getRevisionMetadataKey

Same name in other branches
  1. 8.9.x core/lib/Drupal/Core/Entity/ContentEntityTypeInterface.php \Drupal\Core\Entity\ContentEntityTypeInterface::getRevisionMetadataKey()
  2. 10 core/lib/Drupal/Core/Entity/ContentEntityTypeInterface.php \Drupal\Core\Entity\ContentEntityTypeInterface::getRevisionMetadataKey()
  3. 11.x core/lib/Drupal/Core/Entity/ContentEntityTypeInterface.php \Drupal\Core\Entity\ContentEntityTypeInterface::getRevisionMetadataKey()

Gets a specific entity revision metadata key.

Parameters

string $key: The name of the entity revision metadata key to return.

Return value

string|bool The entity revision metadata key, or FALSE if it does not exist.

See also

self::getRevisionMetadataKeys()

1 method overrides ContentEntityTypeInterface::getRevisionMetadataKey()
ContentEntityType::getRevisionMetadataKey in core/lib/Drupal/Core/Entity/ContentEntityType.php
Gets a specific entity revision metadata key.

File

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

Class

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

Namespace

Drupal\Core\Entity

Code

public function getRevisionMetadataKey($key);

Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.