Search for %s
- Search 7.x for %s
- Search 8.9.x for %s
- Search 10.3.x for %s
- Search 11.x for %s
- Search main for %s
- Other projects
| Title | Object type | File name | Summary |
|---|---|---|---|
| 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[[api-linebreak]] @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. |
| 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::$moduleHandler | property | core/ |
The module handler service. |
| TranslationStatusForm::$state | property | core/ |
The Drupal state storage service. |
| 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. |
| TranslationStatusForm::__construct | function | core/ |
Constructs a TranslationStatusForm object. |
| TranslationStatusInterface | interface | core/ |
Defines an interface for checking the status of an entity translation. |
| TranslationStatusInterface.php | file | core/ |
|
| TranslationStatusInterface::getTranslationStatus | function | core/ |
Returns the translation status. |
| TranslationStatusInterface::TRANSLATION_CREATED | constant | core/ |
Status code identifying a newly created translation. |
| TranslationStatusInterface::TRANSLATION_EXISTING | constant | core/ |
Status code identifying an existing translation. |
| TranslationStatusInterface::TRANSLATION_REMOVED | constant | core/ |
Status code identifying a removed translation. |
Pagination
- Previous page
- Page 1307
- Next page
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.