Search for trans

  1. Search 7.x for trans
  2. Search 9.5.x for trans
  3. Search 8.9.x for trans
  4. Search 10.3.x for trans
  5. Other projects
Title Object type File name Summary
ContentTranslationFieldSyncRevisionTest.php file core/modules/content_translation/tests/src/Kernel/ContentTranslationFieldSyncRevisionTest.php
ContentTranslationFieldSyncRevisionTest::$contentTranslationManager property core/modules/content_translation/tests/src/Kernel/ContentTranslationFieldSyncRevisionTest.php The content translation manager.
ContentTranslationFieldSyncRevisionTest::$fieldName property core/modules/content_translation/tests/src/Kernel/ContentTranslationFieldSyncRevisionTest.php The synchronized field name.
ContentTranslationFieldSyncRevisionTest::$modules property core/modules/content_translation/tests/src/Kernel/ContentTranslationFieldSyncRevisionTest.php Modules to install.
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.
ContentTranslationFieldSyncRevisionTest::testFileFieldSynchronization function core/modules/content_translation/tests/src/Kernel/ContentTranslationFieldSyncRevisionTest.php Checks that file field synchronization works as expected.
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::$entityTypeId property core/modules/content_translation/src/ContentTranslationHandler.php The type of the entity being translated.
ContentTranslationHandler::$fieldStorageDefinitions property core/modules/content_translation/src/ContentTranslationHandler.php Installed field storage definitions for the entity type.
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::entityFormDeleteTranslationUrl 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.
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.

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