Search for translatable
- Search 7.x for translatable
- Search 8.9.x for translatable
- Search 10.3.x for translatable
- Search 11.x for translatable
- Other projects
Title | Object type | File name | Summary |
---|---|---|---|
TranslatableInterface::getUntranslated | function | core/ |
Returns the translatable object in the language it was created. |
TranslatableInterface::hasTranslation | function | core/ |
Checks there is a translation for the given language code. |
TranslatableInterface::hasTranslationChanges | function | core/ |
Determines if the current translation of the entity has unsaved changes. |
TranslatableInterface::isDefaultTranslation | function | core/ |
Checks whether the translation is the default one. |
TranslatableInterface::isNewTranslation | function | core/ |
Checks whether the translation is new. |
TranslatableInterface::isTranslatable | function | core/ |
Returns the translation support status. |
TranslatableInterface::language | function | core/ |
Returns the translation language. |
TranslatableInterface::removeTranslation | function | core/ |
Removes the translation identified by the given language code. |
TranslatableMarkup | class | core/ |
Provides translatable markup class. |
TranslatableMarkup.php | file | core/ |
|
TranslatableMarkup::$options | property | core/ |
The translation options. |
TranslatableMarkup::$stringTranslation | property | core/ |
The string translation service. |
TranslatableMarkup::$translatedMarkup | property | core/ |
The translated markup without placeholder replacements. |
TranslatableMarkup::count | function | core/ |
Returns the string length. |
TranslatableMarkup::getArguments | function | core/ |
Gets all arguments from this translated string. |
TranslatableMarkup::getOption | function | core/ |
Gets a specific option from this translated string. |
TranslatableMarkup::getOptions | function | core/ |
Gets all options from this translated string. |
TranslatableMarkup::getStringTranslation | function | core/ |
Gets the string translation service. |
TranslatableMarkup::getUntranslatedString | function | core/ |
Gets the untranslated string value stored in this translated string. |
TranslatableMarkup::render | function | core/ |
Renders the object as a string. |
TranslatableMarkup::__construct | function | core/ |
Constructs a new class instance. |
TranslatableMarkup::__sleep | function | core/ |
Magic __sleep() method to avoid serializing the string translator. |
TranslatableMarkupTest | class | core/ |
Tests the TranslatableMarkup class. |
TranslatableMarkupTest.php | file | core/ |
|
TranslatableMarkupTest::$lastErrorMessage | property | core/ |
The error message of the last error in the error handler. |
TranslatableMarkupTest::$lastErrorNumber | property | core/ |
The error number of the last error in the error handler. |
TranslatableMarkupTest::errorHandler | function | core/ |
Custom error handler that saves the last error. |
TranslatableMarkupTest::testIsStringAssertion | function | core/ |
@covers ::__construct |
TranslatableMarkupTest::testIsStringAssertionWithFormattableMarkup | function | core/ |
@covers ::__construct |
TranslatableMarkupTest::testToString | function | core/ |
Tests that errors are correctly handled when a __toString() fails. |
TranslatableRevisionableInterface | interface | core/ |
Provides methods for an entity to support revision translation. |
TranslatableRevisionableInterface.php | file | core/ |
|
TranslatableRevisionableInterface::isDefaultTranslationAffectedOnly | function | core/ |
Checks if untranslatable fields should affect only the default translation. |
TranslatableRevisionableInterface::isLatestTranslationAffectedRevision | function | core/ |
Checks whether this is the latest revision affecting this translation. |
TranslatableRevisionableInterface::isRevisionTranslationAffected | function | core/ |
Checks whether the current translation is affected by the current revision. |
TranslatableRevisionableInterface::isRevisionTranslationAffectedEnforced | function | core/ |
Checks if the revision translation affected flag value has been enforced. |
TranslatableRevisionableInterface::setRevisionTranslationAffected | function | core/ |
Marks the current revision translation as affected. |
TranslatableRevisionableInterface::setRevisionTranslationAffectedEnforced | function | core/ |
Enforces the revision translation affected flag value. |
TranslatableRevisionableStorageInterface | interface | core/ |
A storage that supports translatable and revisionable entity types. |
TranslatableRevisionableStorageInterface.php | file | core/ |
|
TranslatableRevisionableStorageInterface::createRevision | function | core/ |
Creates a new revision starting off from the specified entity object. |
TranslatableRevisionableStorageInterface::getLatestTranslationAffectedRevisionId | function | core/ |
Returns the latest revision affecting the specified translation. |
TranslatableStorageInterface | interface | core/ |
A storage that supports translatable entity types. |
TranslatableStorageInterface.php | file | core/ |
|
TranslatableStorageInterface::createTranslation | function | core/ |
Constructs a new entity translation object, without permanently saving it. |
TranslationTest::testTranslatableFieldSaveLoad | function | core/ |
Tests translatable fields storage/retrieval. |
ViewNonTranslatableEntityTest | class | core/ |
Tests the view creation of non-translatable entities. |
ViewNonTranslatableEntityTest.php | file | core/ |
|
ViewNonTranslatableEntityTest::$defaultTheme | property | core/ |
The theme to install as the default for testing. |
ViewNonTranslatableEntityTest::$modules | property | core/ |
Modules to enable. |
Pagination
- Previous page
- Page 4
- Next page
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.