protected ContentTranslationHandler::hasChangedTime()
Checks whether the entity type supports modification time natively.
Return value
bool TRUE if metadata is natively supported, FALSE otherwise.
File
- core/modules/content_translation/src/ContentTranslationHandler.php, line 196
Class
- ContentTranslationHandler
- Base class for content translation handlers.
Namespace
Drupal\content_translation
Code
1 2 3 | protected function hasChangedTime() { return $this ->entityType->isSubclassOf( 'Drupal\Core\Entity\EntityChangedInterface' ) && $this ->checkFieldStorageDefinitionTranslatability( 'changed' ); } |
Please login to continue.