Search for trans

  1. Search 7.x for trans
  2. Search 8.9.x for trans
  3. Search 10.3.x for trans
  4. Search 11.x for trans
  5. Other projects
Title Object type File name Summary
ContentTranslationFieldSyncRevisionTest::$storage property core/modules/content_translation/tests/src/Kernel/ContentTranslationFieldSyncRevisionTest.php The test entity storage.
ContentTranslationFieldSyncRevisionTest::assertLatestRevisionFieldValues function core/modules/content_translation/tests/src/Kernel/ContentTranslationFieldSyncRevisionTest.php Asserts that the latest revision has the expected field values.
ContentTranslationFieldSyncRevisionTest::assertViolations function core/modules/content_translation/tests/src/Kernel/ContentTranslationFieldSyncRevisionTest.php Asserts that the expected violations were found.
ContentTranslationFieldSyncRevisionTest::createRevision function core/modules/content_translation/tests/src/Kernel/ContentTranslationFieldSyncRevisionTest.php Creates a new revision starting from the latest translation-affecting one.
ContentTranslationFieldSyncRevisionTest::saveNewEntity function core/modules/content_translation/tests/src/Kernel/ContentTranslationFieldSyncRevisionTest.php
ContentTranslationFieldSyncRevisionTest::setUntranslatableFieldWidgetsDisplay function core/modules/content_translation/tests/src/Kernel/ContentTranslationFieldSyncRevisionTest.php Sets untranslatable field widgets' display status.
ContentTranslationFieldSyncRevisionTest::setUp function core/modules/content_translation/tests/src/Kernel/ContentTranslationFieldSyncRevisionTest.php
ContentTranslationFieldSyncRevisionTest::testChangeDefaultLanguageNonTranslatableFieldsHidden function core/modules/content_translation/tests/src/Kernel/ContentTranslationFieldSyncRevisionTest.php Tests changing the default language of an entity.
ContentTranslationFieldSyncRevisionTest::testFieldSynchronizationAndValidation function core/modules/content_translation/tests/src/Kernel/ContentTranslationFieldSyncRevisionTest.php Checks that field synchronization works as expected with revisions.
ContentTranslationHandler class core/modules/content_translation/src/ContentTranslationHandler.php Base class for content translation handlers.
ContentTranslationHandler.php file core/modules/content_translation/src/ContentTranslationHandler.php
ContentTranslationHandler::$currentUser property core/modules/content_translation/src/ContentTranslationHandler.php The current user.
ContentTranslationHandler::$dateFormatter property core/modules/content_translation/src/ContentTranslationHandler.php The date formatter service.
ContentTranslationHandler::$entityType property core/modules/content_translation/src/ContentTranslationHandler.php Information about the entity type.
ContentTranslationHandler::$entityTypeId property core/modules/content_translation/src/ContentTranslationHandler.php The type of the entity being translated.
ContentTranslationHandler::$entityTypeManager property core/modules/content_translation/src/ContentTranslationHandler.php The entity type manager.
ContentTranslationHandler::$fieldStorageDefinitions property core/modules/content_translation/src/ContentTranslationHandler.php Installed field storage definitions for the entity type.
ContentTranslationHandler::$languageManager property core/modules/content_translation/src/ContentTranslationHandler.php The language manager.
ContentTranslationHandler::$manager property core/modules/content_translation/src/ContentTranslationHandler.php The content translation manager.
ContentTranslationHandler::$messenger property core/modules/content_translation/src/ContentTranslationHandler.php The messenger service.
ContentTranslationHandler::addTranslatabilityClue function core/modules/content_translation/src/ContentTranslationHandler.php Adds a clue about the form element translatability.
ContentTranslationHandler::checkFieldStorageDefinitionTranslatability function core/modules/content_translation/src/ContentTranslationHandler.php Checks the field storage definition for translatability support.
ContentTranslationHandler::createInstance function core/modules/content_translation/src/ContentTranslationHandler.php Instantiates a new instance of this entity handler.
ContentTranslationHandler::entityFormAlter function core/modules/content_translation/src/ContentTranslationHandler.php Performs the needed alterations to the entity form.
ContentTranslationHandler::entityFormDelete function core/modules/content_translation/src/ContentTranslationHandler.php Form submission handler for ContentTranslationHandler::entityFormAlter().
ContentTranslationHandler::entityFormDeleteTranslation function core/modules/content_translation/src/ContentTranslationHandler.php Form submission handler for ContentTranslationHandler::entityFormAlter().
ContentTranslationHandler::entityFormEntityBuild function core/modules/content_translation/src/ContentTranslationHandler.php Entity builder method.
ContentTranslationHandler::entityFormSharedElements function core/modules/content_translation/src/ContentTranslationHandler.php Process callback: determines which elements get clue in the form.
ContentTranslationHandler::entityFormSourceChange function core/modules/content_translation/src/ContentTranslationHandler.php Form submission handler for ContentTranslationHandler::entityFormAlter().
ContentTranslationHandler::entityFormSubmit function core/modules/content_translation/src/ContentTranslationHandler.php Form submission handler for ContentTranslationHandler::entityFormAlter().
ContentTranslationHandler::entityFormTitle function core/modules/content_translation/src/ContentTranslationHandler.php Returns the title to be used for the entity form page.
ContentTranslationHandler::entityFormValidate function core/modules/content_translation/src/ContentTranslationHandler.php Form validation handler for ContentTranslationHandler::entityFormAlter().
ContentTranslationHandler::getDefaultOwnerId function core/modules/content_translation/src/ContentTranslationHandler.php Default value callback for the owner base field definition.
ContentTranslationHandler::getFieldDefinitions function core/modules/content_translation/src/ContentTranslationHandler.php Returns a set of field definitions to be used to store metadata items.
ContentTranslationHandler::getSourceLangcode function core/modules/content_translation/src/ContentTranslationHandler.php Retrieves the source language for the translation being created.
ContentTranslationHandler::getTranslationAccess function core/modules/content_translation/src/ContentTranslationHandler.php Checks that the user can perform the operation on the entity translation.
ContentTranslationHandler::hasAuthor function core/modules/content_translation/src/ContentTranslationHandler.php Checks whether the entity type supports author natively.
ContentTranslationHandler::hasChangedTime function core/modules/content_translation/src/ContentTranslationHandler.php Checks whether the entity type supports modification time natively.
ContentTranslationHandler::hasCreatedTime function core/modules/content_translation/src/ContentTranslationHandler.php Checks whether the entity type supports creation time natively.
ContentTranslationHandler::hasPublishedStatus function core/modules/content_translation/src/ContentTranslationHandler.php Checks whether the entity type supports published status natively.
ContentTranslationHandler::retranslate function core/modules/content_translation/src/ContentTranslationHandler.php Marks translations as outdated.
ContentTranslationHandler::__construct function core/modules/content_translation/src/ContentTranslationHandler.php Initializes an instance of the content translation controller.
ContentTranslationHandlerInterface interface core/modules/content_translation/src/ContentTranslationHandlerInterface.php Interface for providing content translation.
ContentTranslationHandlerInterface.php file core/modules/content_translation/src/ContentTranslationHandlerInterface.php
ContentTranslationHandlerInterface::entityFormAlter function core/modules/content_translation/src/ContentTranslationHandlerInterface.php Performs the needed alterations to the entity form.
ContentTranslationHandlerInterface::getFieldDefinitions function core/modules/content_translation/src/ContentTranslationHandlerInterface.php Returns a set of field definitions to be used to store metadata items.
ContentTranslationHandlerInterface::getSourceLangcode function core/modules/content_translation/src/ContentTranslationHandlerInterface.php Retrieves the source language for the translation being created.
ContentTranslationHandlerInterface::getTranslationAccess function core/modules/content_translation/src/ContentTranslationHandlerInterface.php Checks that the user can perform the operation on the entity translation.
ContentTranslationHandlerInterface::retranslate function core/modules/content_translation/src/ContentTranslationHandlerInterface.php Marks translations as outdated.
ContentTranslationHandlerTest class core/modules/content_translation/tests/src/Kernel/ContentTranslationHandlerTest.php Tests the content translation handler.

Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.