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 |
---|---|---|---|
ContentEntityBase::addTranslation | function | core/ |
Adds a new translation to the translatable object. |
ContentEntityBase::clearTranslationCache | function | core/ |
Clears 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 in the language it was created. |
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::setDefaultTranslationEnforced | function | core/ |
Set or clear an override of the isDefaultTranslation() result. |
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 invokes 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. |
ContentModerationHooks::entityTranslationDelete | function | core/ |
Implements hook_entity_translation_delete(). |
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::doTestContentModerationStateTranslationDataRemoval | function | core/ |
Tests removal of content moderation state translations. |
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::$defaultCacheContexts | property | core/ |
Default cache contexts expected on a non-translated entity. |
ContentTestTranslationUITest::$defaultTheme | property | core/ |
The theme to install as the default for testing. |
ContentTestTranslationUITest::$modules | property | core/ |
Modules to install. |
ContentTestTranslationUITest::$testHTMLEscapeForAllLanguages | property | core/ |
Flag to determine if "all languages" rendering is tested. |
Pagination
- Previous page
- Page 12
- Next page
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.