You are here

protected function LingotekContentTranslationHandler::hasChangedTime in Lingotek Translation 8

Checks whether the entity type supports modification time natively.

Return value

bool TRUE if metadata is natively supported, FALSE otherwise.

1 call to LingotekContentTranslationHandler::hasChangedTime()
LingotekContentTranslationHandler::getFieldDefinitions in src/LingotekContentTranslationHandler.php

File

src/LingotekContentTranslationHandler.php, line 144
Contains \Drupal\content_translation\ContentTranslationHandler.

Class

LingotekContentTranslationHandler

Namespace

Drupal\lingotek

Code

protected function hasChangedTime() {
  return $this->entityType
    ->isSubclassOf('Drupal\\Core\\Entity\\EntityChangedInterface') && $this
    ->checkFieldStorageDefinitionTranslatability('changed');
}