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
ContentTranslationManager::isSupported function core/modules/content_translation/src/ContentTranslationManager.php Checks whether an entity type supports translation.
ContentTranslationManager::loadContentLanguageSettings function core/modules/content_translation/src/ContentTranslationManager.php Loads a content language config entity based on the entity type and bundle.
ContentTranslationManager::setBundleTranslationSettings function core/modules/content_translation/src/ContentTranslationManager.php Sets translation settings for the specified bundle.
ContentTranslationManager::setEnabled function core/modules/content_translation/src/ContentTranslationManager.php Sets the value for translatability of the given entity type bundle.
ContentTranslationManager::__construct function core/modules/content_translation/src/ContentTranslationManager.php Constructs a ContentTranslationManageAccessCheck object.
ContentTranslationManagerInterface interface core/modules/content_translation/src/ContentTranslationManagerInterface.php Provides an interface for common functionality for content translation.
ContentTranslationManagerInterface.php file core/modules/content_translation/src/ContentTranslationManagerInterface.php
ContentTranslationManagerInterface::getSupportedEntityTypes function core/modules/content_translation/src/ContentTranslationManagerInterface.php Gets the entity types that support content translation.
ContentTranslationManagerInterface::getTranslationHandler function core/modules/content_translation/src/ContentTranslationManagerInterface.php Returns an instance of the Content translation handler.
ContentTranslationManagerInterface::getTranslationMetadata function core/modules/content_translation/src/ContentTranslationManagerInterface.php Returns an instance of the Content translation metadata.
ContentTranslationManagerInterface::isEnabled function core/modules/content_translation/src/ContentTranslationManagerInterface.php Determines whether the given entity type is translatable.
ContentTranslationManagerInterface::isSupported function core/modules/content_translation/src/ContentTranslationManagerInterface.php Checks whether an entity type supports translation.
ContentTranslationManagerInterface::setEnabled function core/modules/content_translation/src/ContentTranslationManagerInterface.php Sets the value for translatability of the given entity type bundle.
ContentTranslationMetadataFieldsTest class core/modules/content_translation/tests/src/Functional/ContentTranslationMetadataFieldsTest.php Tests the Content Translation metadata fields handling.
ContentTranslationMetadataFieldsTest.php file core/modules/content_translation/tests/src/Functional/ContentTranslationMetadataFieldsTest.php
ContentTranslationMetadataFieldsTest::$bundle property core/modules/content_translation/tests/src/Functional/ContentTranslationMetadataFieldsTest.php The bundle being tested.
ContentTranslationMetadataFieldsTest::$entityTypeId property core/modules/content_translation/tests/src/Functional/ContentTranslationMetadataFieldsTest.php The entity type being tested.
ContentTranslationMetadataFieldsTest::$modules property core/modules/content_translation/tests/src/Functional/ContentTranslationMetadataFieldsTest.php Modules to install.
ContentTranslationMetadataFieldsTest::$profile property core/modules/content_translation/tests/src/Functional/ContentTranslationMetadataFieldsTest.php The profile to install as a basis for testing.
ContentTranslationMetadataFieldsTest::testSetTranslatable function core/modules/content_translation/tests/src/Functional/ContentTranslationMetadataFieldsTest.php Tests setting translatable metadata fields.
ContentTranslationMetadataFieldsTest::testSkipUntranslatable function core/modules/content_translation/tests/src/Functional/ContentTranslationMetadataFieldsTest.php Tests skipping setting non translatable metadata fields.
ContentTranslationMetadataWrapper class core/modules/content_translation/src/ContentTranslationMetadataWrapper.php Base class for content translation metadata wrappers.
ContentTranslationMetadataWrapper.php file core/modules/content_translation/src/ContentTranslationMetadataWrapper.php
ContentTranslationMetadataWrapper::$handler property core/modules/content_translation/src/ContentTranslationMetadataWrapper.php The content translation handler.
ContentTranslationMetadataWrapper::$translation property core/modules/content_translation/src/ContentTranslationMetadataWrapper.php The wrapped entity translation.
ContentTranslationMetadataWrapper::getAuthor function core/modules/content_translation/src/ContentTranslationMetadataWrapper.php Returns the translation author.
ContentTranslationMetadataWrapper::getChangedTime function core/modules/content_translation/src/ContentTranslationMetadataWrapper.php Returns the timestamp of the last entity change from current translation.
ContentTranslationMetadataWrapper::getCreatedTime function core/modules/content_translation/src/ContentTranslationMetadataWrapper.php Returns the translation creation timestamp.
ContentTranslationMetadataWrapper::getSource function core/modules/content_translation/src/ContentTranslationMetadataWrapper.php Retrieves the source language for this translation.
ContentTranslationMetadataWrapper::isOutdated function core/modules/content_translation/src/ContentTranslationMetadataWrapper.php Returns the translation outdated status.
ContentTranslationMetadataWrapper::isPublished function core/modules/content_translation/src/ContentTranslationMetadataWrapper.php Returns the translation published status.
ContentTranslationMetadataWrapper::setAuthor function core/modules/content_translation/src/ContentTranslationMetadataWrapper.php Sets the translation author.
ContentTranslationMetadataWrapper::setChangedTime function core/modules/content_translation/src/ContentTranslationMetadataWrapper.php Sets the translation modification timestamp.
ContentTranslationMetadataWrapper::setCreatedTime function core/modules/content_translation/src/ContentTranslationMetadataWrapper.php Sets the translation creation timestamp.
ContentTranslationMetadataWrapper::setFieldOnlyIfTranslatable function core/modules/content_translation/src/ContentTranslationMetadataWrapper.php Updates a field value, only if the field is translatable.
ContentTranslationMetadataWrapper::setOutdated function core/modules/content_translation/src/ContentTranslationMetadataWrapper.php Sets the translation outdated status.
ContentTranslationMetadataWrapper::setPublished function core/modules/content_translation/src/ContentTranslationMetadataWrapper.php Sets the translation published status.
ContentTranslationMetadataWrapper::setSource function core/modules/content_translation/src/ContentTranslationMetadataWrapper.php Sets the source language for this translation.
ContentTranslationMetadataWrapper::__construct function core/modules/content_translation/src/ContentTranslationMetadataWrapper.php Initializes an instance of the content translation metadata handler.
ContentTranslationMetadataWrapperInterface interface core/modules/content_translation/src/ContentTranslationMetadataWrapperInterface.php Common interface for content translation metadata wrappers.
ContentTranslationMetadataWrapperInterface.php file core/modules/content_translation/src/ContentTranslationMetadataWrapperInterface.php
ContentTranslationMetadataWrapperInterface::getAuthor function core/modules/content_translation/src/ContentTranslationMetadataWrapperInterface.php Returns the translation author.
ContentTranslationMetadataWrapperInterface::getChangedTime function core/modules/content_translation/src/ContentTranslationMetadataWrapperInterface.php Returns the timestamp of the last entity change from current translation.
ContentTranslationMetadataWrapperInterface::getCreatedTime function core/modules/content_translation/src/ContentTranslationMetadataWrapperInterface.php Returns the translation creation timestamp.
ContentTranslationMetadataWrapperInterface::getSource function core/modules/content_translation/src/ContentTranslationMetadataWrapperInterface.php Retrieves the source language for this translation.
ContentTranslationMetadataWrapperInterface::isOutdated function core/modules/content_translation/src/ContentTranslationMetadataWrapperInterface.php Returns the translation outdated status.
ContentTranslationMetadataWrapperInterface::isPublished function core/modules/content_translation/src/ContentTranslationMetadataWrapperInterface.php Returns the translation published status.
ContentTranslationMetadataWrapperInterface::setAuthor function core/modules/content_translation/src/ContentTranslationMetadataWrapperInterface.php Sets the translation author.
ContentTranslationMetadataWrapperInterface::setChangedTime function core/modules/content_translation/src/ContentTranslationMetadataWrapperInterface.php Sets the translation modification timestamp.
ContentTranslationMetadataWrapperInterface::setCreatedTime function core/modules/content_translation/src/ContentTranslationMetadataWrapperInterface.php Sets the translation creation timestamp.

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