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
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()
ContentTranslationHooks class core/modules/content_translation/src/Hook/ContentTranslationHooks.php Hook implementations for content_translation.
ContentTranslationHooks.php file core/modules/content_translation/src/Hook/ContentTranslationHooks.php
ContentTranslationHooks::elementInfoAlter function core/modules/content_translation/src/Hook/ContentTranslationHooks.php Implements hook_element_info_alter().
ContentTranslationHooks::entityBaseFieldInfo function core/modules/content_translation/src/Hook/ContentTranslationHooks.php Implements hook_entity_base_field_info().
ContentTranslationHooks::entityBundleInfoAlter function core/modules/content_translation/src/Hook/ContentTranslationHooks.php Implements hook_entity_bundle_info_alter().
ContentTranslationHooks::entityExtraFieldInfo function core/modules/content_translation/src/Hook/ContentTranslationHooks.php Implements hook_entity_extra_field_info().
ContentTranslationHooks::entityOperation function core/modules/content_translation/src/Hook/ContentTranslationHooks.php Implements hook_entity_operation().
ContentTranslationHooks::entityPresave function core/modules/content_translation/src/Hook/ContentTranslationHooks.php Implements hook_entity_presave().
ContentTranslationHooks::entityTypeAlter function core/modules/content_translation/src/Hook/ContentTranslationHooks.php Implements hook_entity_type_alter().
ContentTranslationHooks::fieldInfoAlter function core/modules/content_translation/src/Hook/ContentTranslationHooks.php Implements hook_field_info_alter().
ContentTranslationHooks::formAlter function core/modules/content_translation/src/Hook/ContentTranslationHooks.php Implements hook_form_alter().
ContentTranslationHooks::formFieldConfigEditFormAlter function core/modules/content_translation/src/Hook/ContentTranslationHooks.php Implements hook_form_FORM_ID_alter() for 'field_config_edit_form'.
ContentTranslationHooks::formLanguageContentSettingsFormAlter function core/modules/content_translation/src/Hook/ContentTranslationHooks.php Implements hook_form_FORM_ID_alter() for language_content_settings_form().
ContentTranslationHooks::help function core/modules/content_translation/src/Hook/ContentTranslationHooks.php Implements hook_help().
ContentTranslationHooks::languageContentSettingsInsert function core/modules/content_translation/src/Hook/ContentTranslationHooks.php Implements hook_ENTITY_TYPE_insert().
ContentTranslationHooks::languageContentSettingsUpdate function core/modules/content_translation/src/Hook/ContentTranslationHooks.php Implements hook_ENTITY_TYPE_update().
ContentTranslationHooks::languageFallbackCandidatesEntityViewAlter function core/modules/content_translation/src/Hook/ContentTranslationHooks.php Implements hook_language_fallback_candidates_OPERATION_alter().
ContentTranslationHooks::languageTypesInfoAlter function core/modules/content_translation/src/Hook/ContentTranslationHooks.php Implements hook_language_types_info_alter().
ContentTranslationHooks::menuLinksDiscoveredAlter function core/modules/content_translation/src/Hook/ContentTranslationHooks.php Implements hook_menu_links_discovered_alter().
ContentTranslationHooks::pageAttachments function core/modules/content_translation/src/Hook/ContentTranslationHooks.php Implements hook_page_attachments().
ContentTranslationHooks::viewsDataAlter function core/modules/content_translation/src/Hook/ContentTranslationHooks.php Implements hook_views_data_alter().
ContentTranslationLanguageChangeTest class core/modules/content_translation/tests/src/Functional/ContentTranslationLanguageChangeTest.php Tests the content translation language that is set.

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