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 11.x for trans
  5. Other projects
Title Object type File name Summary
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.
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 install.
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
ContentTranslationLanguageChangeTest::$defaultTheme property core/modules/content_translation/tests/src/Functional/ContentTranslationLanguageChangeTest.php The theme to install as the default for testing.
ContentTranslationLanguageChangeTest::$modules property core/modules/content_translation/tests/src/Functional/ContentTranslationLanguageChangeTest.php Modules to install.
ContentTranslationLanguageChangeTest::setUp function core/modules/content_translation/tests/src/Functional/ContentTranslationLanguageChangeTest.php
ContentTranslationLanguageChangeTest::testLanguageChange function core/modules/content_translation/tests/src/Functional/ContentTranslationLanguageChangeTest.php Tests that the source language is properly set when changing.
ContentTranslationLanguageChangeTest::testTitleDoesNotChangesOnChangingLanguageWidgetAndTriggeringAjaxCall function core/modules/content_translation/tests/src/Functional/ContentTranslationLanguageChangeTest.php Tests that title does not change on ajax call with new language value.
ContentTranslationLinkTagTest class core/modules/content_translation/tests/src/Functional/ContentTranslationLinkTagTest.php Tests whether canonical link tags are present for content entities.
ContentTranslationLinkTagTest.php file core/modules/content_translation/tests/src/Functional/ContentTranslationLinkTagTest.php
ContentTranslationLinkTagTest::$defaultTheme property core/modules/content_translation/tests/src/Functional/ContentTranslationLinkTagTest.php The theme to install as the default for testing.
ContentTranslationLinkTagTest::$langcodes property core/modules/content_translation/tests/src/Functional/ContentTranslationLinkTagTest.php The added languages.
ContentTranslationLinkTagTest::$modules property core/modules/content_translation/tests/src/Functional/ContentTranslationLinkTagTest.php Modules to install.
ContentTranslationLinkTagTest::createTranslatableEntity function core/modules/content_translation/tests/src/Functional/ContentTranslationLinkTagTest.php Create a test entity with translations.
ContentTranslationLinkTagTest::setUp function core/modules/content_translation/tests/src/Functional/ContentTranslationLinkTagTest.php
ContentTranslationLinkTagTest::testCanonicalAlternateTags function core/modules/content_translation/tests/src/Functional/ContentTranslationLinkTagTest.php Tests alternate link tag found for entity types with canonical links.
ContentTranslationLinkTagTest::testCanonicalAlternateTagsMissing function core/modules/content_translation/tests/src/Functional/ContentTranslationLinkTagTest.php Tests alternate link tag missing for entity types without canonical links.
ContentTranslationLocalTasks class core/modules/content_translation/src/Plugin/Derivative/ContentTranslationLocalTasks.php Provides dynamic local tasks for content translation.
ContentTranslationLocalTasks.php file core/modules/content_translation/src/Plugin/Derivative/ContentTranslationLocalTasks.php
ContentTranslationLocalTasks::$basePluginId property core/modules/content_translation/src/Plugin/Derivative/ContentTranslationLocalTasks.php The base plugin ID.

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