function ContentTranslationHandler::hasCreatedTime

Same name and namespace in other branches
  1. 11.x core/modules/content_translation/src/ContentTranslationHandler.php \Drupal\content_translation\ContentTranslationHandler::hasCreatedTime()
  2. 10 core/modules/content_translation/src/ContentTranslationHandler.php \Drupal\content_translation\ContentTranslationHandler::hasCreatedTime()
  3. 8.9.x core/modules/content_translation/src/ContentTranslationHandler.php \Drupal\content_translation\ContentTranslationHandler::hasCreatedTime()

Checks whether the entity type supports creation time natively.

Return value

bool TRUE if metadata is natively supported, FALSE otherwise.

File

core/modules/content_translation/src/ContentTranslationHandler.php, line 253

Class

ContentTranslationHandler
Base class for content translation handlers.

Namespace

Drupal\content_translation

Code

protected function hasCreatedTime() {
  return $this->checkFieldStorageDefinitionTranslatability('created');
}

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