Search for trans

  1. Search 7.x for trans
  2. Search 9.5.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
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 The array of installed field storage definitions for the entity type, keyed
by field name.
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 if the user can perform the given operation on translations of the
wrapped entity.
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 if the user can perform the given operation on translations of the
wrapped entity.
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.
ContentTranslationHandlerTest.php file core/modules/content_translation/tests/src/Kernel/ContentTranslationHandlerTest.php
ContentTranslationHandlerTest::$entityTypeBundleInfo property core/modules/content_translation/tests/src/Kernel/ContentTranslationHandlerTest.php The entity type bundle information.
ContentTranslationHandlerTest::$entityTypeId property core/modules/content_translation/tests/src/Kernel/ContentTranslationHandlerTest.php The ID of the entity type used in this test.
ContentTranslationHandlerTest::$entityTypeManager property core/modules/content_translation/tests/src/Kernel/ContentTranslationHandlerTest.php The entity type manager.
ContentTranslationHandlerTest::$messenger property core/modules/content_translation/tests/src/Kernel/ContentTranslationHandlerTest.php The messenger.
ContentTranslationHandlerTest::$modules property core/modules/content_translation/tests/src/Kernel/ContentTranslationHandlerTest.php Modules to enable.
ContentTranslationHandlerTest::$state property core/modules/content_translation/tests/src/Kernel/ContentTranslationHandlerTest.php The state service.
ContentTranslationHandlerTest::$translationLangcode property core/modules/content_translation/tests/src/Kernel/ContentTranslationHandlerTest.php The ID of the translation language used in this test.
ContentTranslationHandlerTest::providerTestEntityFormSharedElements function core/modules/content_translation/tests/src/Kernel/ContentTranslationHandlerTest.php Returns test cases for ::testEntityFormSharedElements().
ContentTranslationHandlerTest::setUp function core/modules/content_translation/tests/src/Kernel/ContentTranslationHandlerTest.php
ContentTranslationHandlerTest::testEntityFormSharedElements function core/modules/content_translation/tests/src/Kernel/ContentTranslationHandlerTest.php Tests ContentTranslationHandler::entityFormSharedElements()
ContentTranslationLanguageChangeTest class core/modules/content_translation/tests/src/Functional/ContentTranslationLanguageChangeTest.php Tests the content translation language that is set.
ContentTranslationLanguageChangeTest.php file core/modules/content_translation/tests/src/Functional/ContentTranslationLanguageChangeTest.php

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