Search for trans
- Search 7.x for trans
- Search 9.5.x for trans
- Search 8.9.x for trans
- Search 10.3.x for trans
- Other projects
Title | Object type | File name | Summary |
---|---|---|---|
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 install. |
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/ |
|
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. |
TranslationsStream::getExternalUrl | function | core/ |
Implements Drupal\Core\StreamWrapper\StreamWrapperInterface::getExternalUrl(). |
TranslationsStream::getName | function | core/ |
Returns the name of the stream wrapper for use in the UI. |
TranslationsStream::getType | function | core/ |
Returns the type of stream wrapper. |
TranslationStatusForm | class | core/ |
Provides a translation status form. |
TranslationStatusForm.php | file | core/ |
|
TranslationStatusForm::buildForm | function | core/ |
Form builder for displaying the current translation status. |
TranslationStatusForm::create | function | core/ |
Instantiates a new instance of this class. |
TranslationStatusForm::createInfoString | function | core/ |
Provides debug info for projects in case translation files are not found. |
TranslationStatusForm::getFormId | function | core/ |
Returns a unique string identifying the form. |
TranslationStatusForm::prepareUpdateData | function | core/ |
Prepare information about projects with available translation updates. |
TranslationStatusForm::submitForm | function | core/ |
Form submission handler. |
TranslationStatusForm::validateForm | function | core/ |
Form validation handler. |
Pagination
- Previous page
- Page 67
- Next page
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.