Search for trans
- Search 7.x for trans
- Search 8.9.x for trans
- Search 10.3.x for trans
- Search 11.x for trans
- Other projects
Title | Object type | File name | Summary |
---|---|---|---|
TranslationInterface::translate | function | core/ |
Translates a string to the current language or to a given language. |
TranslationInterface::translateString | function | core/ |
Translates a TranslatableMarkup object to a string. |
TranslationLanguageRenderer | class | core/ |
Renders entity translations in their row language. |
TranslationLanguageRenderer.php | file | core/ |
|
TranslationLanguageRenderer::$langcodeAlias | property | core/ |
Stores the field alias of the langcode column. |
TranslationLanguageRenderer::getCacheContexts | function | core/ |
The cache contexts associated with this object. |
TranslationLanguageRenderer::getLangcode | function | core/ |
Returns the language code associated with the given row. |
TranslationLanguageRenderer::getLangcodeTable | function | core/ |
Returns the name of the table holding the "langcode" field. |
TranslationLanguageRenderer::preRender | function | core/ |
Runs before each entity is rendered. |
TranslationLanguageRenderer::query | function | core/ |
Alters the query if needed. |
TranslationLanguageRenderer::render | function | core/ |
Renders entity data. |
TranslationLink | class | core/ |
Provides a translation link for an entity. |
TranslationLink.php | file | core/ |
|
TranslationLink::getDefaultLabel | function | core/ |
Returns the default label for this link. |
TranslationLink::getEntityLinkTemplate | function | core/ |
Returns the entity link template name identifying the link route. |
TranslationLinkTest | class | core/ |
Tests the content translation overview link field handler. |
TranslationLinkTest.php | file | core/ |
|
TranslationLinkTest::$defaultTheme | property | core/ |
The theme to install as the default for testing. |
TranslationLinkTest::$modules | property | core/ |
Modules to enable. |
TranslationLinkTest::$testViews | property | core/ |
Views used by this test. |
TranslationLinkTest::getTranslatorPermissions | function | core/ |
Returns an array of permissions needed for the translator. |
TranslationLinkTest::setUp | function | core/ |
|
TranslationLinkTest::testTranslationLink | function | core/ |
Tests the content translation overview link field handler. |
TranslationManager | class | core/ |
Defines a chained translation implementation combining multiple translators. |
TranslationManager.php | file | core/ |
|
TranslationManager::$defaultLangcode | property | core/ |
The default langcode used in translations. |
TranslationManager::$sortedTranslators | property | core/ |
An array of translators, sorted by priority. |
TranslationManager::$translators | property | core/ |
An unsorted array of arrays of active translators. |
TranslationManager::addTranslator | function | core/ |
Appends a translation system to the translation chain. |
TranslationManager::doTranslate | function | core/ |
Translates a string to the current language or to a given language. |
TranslationManager::formatPlural | function | core/ |
Formats a string containing a count of items. |
TranslationManager::getStringTranslation | function | core/ |
Retrieves English string to given language. |
TranslationManager::reset | function | core/ |
Resets translation cache. |
TranslationManager::setDefaultLangcode | function | core/ |
Sets the default langcode. |
TranslationManager::sortTranslators | function | core/ |
Sorts translators according to priority. |
TranslationManager::translate | function | core/ |
Translates a string to the current language or to a given language. |
TranslationManager::translateString | function | core/ |
Translates a TranslatableMarkup object to a string. |
TranslationManager::__construct | function | core/ |
Constructs a TranslationManager object. |
TranslationManagerTest | class | core/ |
@coversDefaultClass \Drupal\Core\StringTranslation\TranslationManager @group StringTranslation |
TranslationManagerTest.php | file | core/ |
Contains \Drupal\Tests\Core\StringTranslation\TranslationManagerTest. |
TranslationManagerTest::$translationManager | property | core/ |
The tested translation manager. |
TranslationManagerTest::providerTestFormatPlural | function | core/ |
Provides some test data for formatPlural() |
TranslationManagerTest::providerTestTranslatePlaceholder | function | core/ |
Provides test data for translate(). |
TranslationManagerTest::setUp | function | core/ |
|
TranslationManagerTest::testFormatPlural | function | core/ |
@dataProvider providerTestFormatPlural |
TranslationManagerTest::testTranslatePlaceholder | function | core/ |
Tests translation using placeholders. |
TranslationsStream | class | core/ |
Defines a Drupal translations (translations://) stream wrapper class. |
TranslationsStream.php | file | core/ |
|
TranslationsStream::getDescription | function | core/ |
Returns the description of the stream wrapper for use in the UI. |
TranslationsStream::getDirectoryPath | function | core/ |
Gets the path that the wrapper is responsible for. |
Pagination
- Previous page
- Page 64
- Next page
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.