ContentTranslationHandler::hasCreatedTime

protected 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 206

Class

ContentTranslationHandler
Base class for content translation handlers.

Namespace

Drupal\content_translation

Code

protected function hasCreatedTime() {
  return $this->checkFieldStorageDefinitionTranslatability('created');
}
doc_Drupal
2016-10-29 08:58:16
Comments
Leave a Comment

Please login to continue.