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 |
|---|---|---|---|
| ContentEntityBase::$translatableEntityKeys | property | core/ |
Holds translatable entity keys such as the label. |
| ContentEntityBase::$translationInitialize | property | core/ |
A flag indicating whether a translation object is being initialized. |
| ContentEntityBase::$translations | property | core/ |
An array of entity translation metadata. |
| ContentEntityBase::addTranslation | function | core/ |
Adds a new translation to the translatable object. |
| ContentEntityBase::clearTranslationCache | function | core/ |
Clear entity translation object cache to remove stale references. |
| ContentEntityBase::getFieldsToSkipFromTranslationChangesCheck | function | core/ |
Returns an array of field names to skip in ::hasTranslationChanges. |
| ContentEntityBase::getTranslatableFields | function | core/ |
Gets an array of field item lists for translatable fields. |
| ContentEntityBase::getTranslatedField | function | core/ |
Gets a translated field. |
| ContentEntityBase::getTranslation | function | core/ |
Gets a translation of the data. |
| ContentEntityBase::getTranslationLanguages | function | core/ |
Returns the languages the data is translated to. |
| ContentEntityBase::getTranslationStatus | function | core/ |
Returns the translation status. |
| ContentEntityBase::getUntranslated | function | core/ |
Returns the translatable object referring to the original language. |
| ContentEntityBase::hasTranslation | function | core/ |
Checks there is a translation for the given language code. |
| ContentEntityBase::hasTranslationChanges | function | core/ |
Determines if the current translation of the entity has unsaved changes. |
| ContentEntityBase::initializeTranslation | function | core/ |
Instantiates a translation object for an existing translation. |
| ContentEntityBase::isDefaultTranslation | function | core/ |
Checks whether the translation is the default one. |
| ContentEntityBase::isDefaultTranslationAffectedOnly | function | core/ |
Checks if untranslatable fields should affect only the default translation. |
| ContentEntityBase::isLatestTranslationAffectedRevision | function | core/ |
Checks whether this is the latest revision affecting this translation. |
| ContentEntityBase::isNewTranslation | function | core/ |
Checks whether the translation is new. |
| ContentEntityBase::isRevisionTranslationAffected | function | core/ |
Checks whether the current translation is affected by the current revision. |
| ContentEntityBase::isRevisionTranslationAffectedEnforced | function | core/ |
Checks if the revision translation affected flag value has been enforced. |
| ContentEntityBase::isTranslatable | function | core/ |
Returns the translation support status. |
| ContentEntityBase::removeTranslation | function | core/ |
Removes the translation identified by the given language code. |
| ContentEntityBase::setRevisionTranslationAffected | function | core/ |
Marks the current revision translation as affected. |
| ContentEntityBase::setRevisionTranslationAffectedEnforced | function | core/ |
Enforces the revision translation affected flag value. |
| ContentEntityBaseUnitTest::testIsTranslatable | function | core/ |
@covers ::isTranslatable[[api-linebreak]] |
| ContentEntityBaseUnitTest::testIsTranslatableForMonolingual | function | core/ |
@covers ::isTranslatable[[api-linebreak]] |
| ContentEntityChangedTest::getRevisionTranslationAffectedFlag | function | core/ |
Retrieves the revision translation affected flag value. |
| ContentEntityCloneTest::testEnforceIsNewOnClonedEntityTranslation | function | core/ |
Tests that the flag for enforcing a new entity is not shared. |
| ContentEntityCloneTest::testNewRevisionOnCloneEntityTranslation | function | core/ |
Tests that the flag for enforcing a new revision is not shared. |
| ContentEntityHasChangesTest::testHasTranslationChanges | function | core/ |
Tests the correct functionality of the hasTranslationChanges() function. |
| ContentEntityStorageBase::createTranslation | function | core/ |
Constructs a new entity translation object, without permanently saving it. |
| ContentEntityStorageBase::getLatestTranslationAffectedRevisionId | function | core/ |
Returns the latest revision affecting the specified translation. |
| ContentEntityStorageBase::getRevisionTranslationMergeSkippedFieldNames | function | core/ |
Returns an array of field names to skip when merging revision translations. |
| ContentEntityStorageBase::invokeTranslationHooks | function | core/ |
Checks translation statuses and invoke the related hooks if needed. |
| ContentEntityStorageBase::isAnyRevisionTranslated | function | core/ |
Checks whether any entity revision is translated. |
| ContentEntityStorageBase::isAnyStoredRevisionTranslated | function | core/ |
Checks whether any stored entity revision is translated. |
| ContentEntityStorageBase::populateAffectedRevisionTranslations | function | core/ |
Populates the affected flag for all the revision translations. |
| ContentModerationState::canTransitionTo | function | core/ |
Determines if the state can transition to the provided state ID. |
| ContentModerationState::getFieldsToSkipFromTranslationChangesCheck | function | core/ |
Returns an array of field names to skip in ::hasTranslationChanges. |
| ContentModerationState::getTransitions | function | core/ |
Gets all the possible transition objects for the state. |
| ContentModerationState::getTransitionTo | function | core/ |
Gets the Transition object for the provided state ID. |
| ContentModerationStateTest::testContentModerationStateTranslationDataRemoval | function | core/ |
Tests removal of content moderation state translations. |
| ContentModerationStateTest::testNonTranslatableEntityTypeModeration | function | core/ |
Tests that a non-translatable entity type with a langcode can be moderated. |
| ContentTestTranslationUITest | class | core/ |
Tests the test content translation UI with the test entity. |
| ContentTestTranslationUITest.php | file | core/ |
|
| ContentTestTranslationUITest::$defaultTheme | property | core/ |
The theme to install as the default for testing. |
| ContentTestTranslationUITest::$modules | property | core/ |
Modules to enable. |
| ContentTestTranslationUITest::$testHTMLEscapeForAllLanguages | property | core/ |
Flag to determine if "all languages" rendering is tested. |
| ContentTestTranslationUITest::getTranslatorPermissions | function | core/ |
Returns an array of permissions needed for the translator. |
Pagination
- Previous page
- Page 11
- Next page
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.