ContentTranslationHandlerInterface

Interface for providing content translation.

Defines a set of methods to allow any entity to be processed by the entity translation UI.

Hierarchy

File

core/modules/content_translation/src/ContentTranslationHandlerInterface.php, line 14

Namespace

Drupal\content_translation

Members

Name Modifiers Type Description
ContentTranslationHandlerInterface::entityFormAlter public function Performs the needed alterations to the entity form.
ContentTranslationHandlerInterface::getFieldDefinitions public function Returns a set of field definitions to be used to store metadata items.
ContentTranslationHandlerInterface::getSourceLangcode public function Retrieves the source language for the translation being created.
ContentTranslationHandlerInterface::getTranslationAccess public function Checks if the user can perform the given operation on translations of the wrapped entity.
ContentTranslationHandlerInterface::retranslate public function Marks translations as outdated.
doc_Drupal
2016-10-29 08:58:17
Comments
Leave a Comment

Please login to continue.