protected function ContentTranslationHandler::hasCreatedTime in Drupal 8
Same name and namespace in other branches
- 9 core/modules/content_translation/src/ContentTranslationHandler.php \Drupal\content_translation\ContentTranslationHandler::hasCreatedTime()
- 10 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.
1 call to ContentTranslationHandler::hasCreatedTime()
- ContentTranslationHandler::getFieldDefinitions in core/
modules/ content_translation/ src/ ContentTranslationHandler.php - Returns a set of field definitions to be used to store metadata items.
1 method overrides ContentTranslationHandler::hasCreatedTime()
- ProfileTranslationHandler::hasCreatedTime in core/
modules/ user/ src/ ProfileTranslationHandler.php - Checks whether the entity type supports creation time natively.
File
- core/
modules/ content_translation/ src/ ContentTranslationHandler.php, line 254
Class
- ContentTranslationHandler
- Base class for content translation handlers.
Namespace
Drupal\content_translationCode
protected function hasCreatedTime() {
return $this
->checkFieldStorageDefinitionTranslatability('created');
}