function ContentEntityTypeInterface::hasRevisionMetadataKey

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

Indicates if a given entity revision metadata key exists.

Parameters

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

Return value

bool TRUE if a given entity revision metadata key exists, FALSE otherwise.

1 method overrides ContentEntityTypeInterface::hasRevisionMetadataKey()
ContentEntityType::hasRevisionMetadataKey in core/lib/Drupal/Core/Entity/ContentEntityType.php

File

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

Class

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

Namespace

Drupal\Core\Entity

Code

public function hasRevisionMetadataKey($key);

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