Search for trans
- Search 7.x for trans
- Search 9.5.x for trans
- Search 10.3.x for trans
- Search 11.x for trans
- Other projects
Title | Object type | File name | Summary |
---|---|---|---|
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. |
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. |
TranslationsTest | class | core/ |
Tests media library for translatable media. |
TranslationsTest.php | file | core/ |
|
TranslationsTest::$defaultTheme | property | core/ |
The theme to install as the default for testing. |
TranslationsTest::$modules | property | core/ |
Modules to enable. |
TranslationsTest::setUp | function | core/ |
|
TranslationsTest::testMediaLibraryTranslations | function | core/ |
Tests the media library widget shows all media only once. |
TranslationString | class | core/ |
Defines the locale translation string object. |
TranslationString.php | file | core/ |
|
TranslationString::$customized | property | core/ |
Integer indicating whether this string is customized. |
TranslationString::$isNew | property | core/ |
Boolean indicating whether the string object is new. |
Pagination
- Previous page
- Page 65
- Next page
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.