Search for trans

  1. Search 7.x for trans
  2. Search 8.9.x for trans
  3. Search 10.3.x for trans
  4. Search 11.x for trans
  5. Other projects
Title Object type File name Summary
Connection::pushTransaction function core/lib/Drupal/Core/Database/Connection.php Increases the depth of transaction nesting.
Connection::startTransaction function core/lib/Drupal/Core/Database/Connection.php Returns a new DatabaseTransaction object on this connection.
Connection::supportsTransactionalDDL function core/lib/Drupal/Core/Database/Connection.php Determines if this driver supports transactional DDL.
Connection::supportsTransactions function core/lib/Drupal/Core/Database/Connection.php Determines if this driver supports transactions.
Connection::transactionDepth function core/lib/Drupal/Core/Database/Connection.php Determines the current transaction depth.
ConnectionTest::testTransactionsOptionDeprecation function core/tests/Drupal/KernelTests/Core/Database/ConnectionTest.php Tests the deprecation of the 'transactions' connection option.
ConstraintViolationBuilder::$translationDomain property core/lib/Drupal/Core/TypedData/Validation/ConstraintViolationBuilder.php The translation domain.
ConstraintViolationBuilder::$translator property core/lib/Drupal/Core/TypedData/Validation/ConstraintViolationBuilder.php The translator.
ConstraintViolationBuilder::setTranslationDomain function core/lib/Drupal/Core/TypedData/Validation/ConstraintViolationBuilder.php
ContentEntityBase::$enforceRevisionTranslationAffected property core/lib/Drupal/Core/Entity/ContentEntityBase.php Whether the revision translation affected flag has been enforced.
ContentEntityBase::$fieldsToSkipFromTranslationChangesCheck property core/lib/Drupal/Core/Entity/ContentEntityBase.php Local cache for fields to skip from the checking for translation changes.
ContentEntityBase::$revisionTranslationAffectedKey property core/lib/Drupal/Core/Entity/ContentEntityBase.php The revision translation affected entity key.
ContentEntityBase::$translatableEntityKeys property core/lib/Drupal/Core/Entity/ContentEntityBase.php Holds translatable entity keys such as the label.
ContentEntityBase::$translationInitialize property core/lib/Drupal/Core/Entity/ContentEntityBase.php A flag indicating whether a translation object is being initialized.
ContentEntityBase::$translations property core/lib/Drupal/Core/Entity/ContentEntityBase.php An array of entity translation metadata.
ContentEntityBase::addTranslation function core/lib/Drupal/Core/Entity/ContentEntityBase.php Adds a new translation to the translatable object.
ContentEntityBase::clearTranslationCache function core/lib/Drupal/Core/Entity/ContentEntityBase.php Clear entity translation object cache to remove stale references.
ContentEntityBase::getFieldsToSkipFromTranslationChangesCheck function core/lib/Drupal/Core/Entity/ContentEntityBase.php Returns an array of field names to skip in ::hasTranslationChanges.
ContentEntityBase::getTranslatableFields function core/lib/Drupal/Core/Entity/ContentEntityBase.php Gets an array of field item lists for translatable fields.
ContentEntityBase::getTranslatedField function core/lib/Drupal/Core/Entity/ContentEntityBase.php Gets a translated field.
ContentEntityBase::getTranslation function core/lib/Drupal/Core/Entity/ContentEntityBase.php Gets a translation of the data.
ContentEntityBase::getTranslationLanguages function core/lib/Drupal/Core/Entity/ContentEntityBase.php Returns the languages the data is translated to.
ContentEntityBase::getTranslationStatus function core/lib/Drupal/Core/Entity/ContentEntityBase.php Returns the translation status.
ContentEntityBase::getUntranslated function core/lib/Drupal/Core/Entity/ContentEntityBase.php Returns the translatable object in the language it was created.
ContentEntityBase::hasTranslation function core/lib/Drupal/Core/Entity/ContentEntityBase.php Checks there is a translation for the given language code.
ContentEntityBase::hasTranslationChanges function core/lib/Drupal/Core/Entity/ContentEntityBase.php Determines if the current translation of the entity has unsaved changes.
ContentEntityBase::initializeTranslation function core/lib/Drupal/Core/Entity/ContentEntityBase.php Instantiates a translation object for an existing translation.
ContentEntityBase::isDefaultTranslation function core/lib/Drupal/Core/Entity/ContentEntityBase.php Checks whether the translation is the default one.
ContentEntityBase::isDefaultTranslationAffectedOnly function core/lib/Drupal/Core/Entity/ContentEntityBase.php Checks if untranslatable fields should affect only the default translation.
ContentEntityBase::isLatestTranslationAffectedRevision function core/lib/Drupal/Core/Entity/ContentEntityBase.php Checks whether this is the latest revision affecting this translation.
ContentEntityBase::isNewTranslation function core/lib/Drupal/Core/Entity/ContentEntityBase.php Checks whether the translation is new.
ContentEntityBase::isRevisionTranslationAffected function core/lib/Drupal/Core/Entity/ContentEntityBase.php Checks whether the current translation is affected by the current revision.
ContentEntityBase::isRevisionTranslationAffectedEnforced function core/lib/Drupal/Core/Entity/ContentEntityBase.php Checks if the revision translation affected flag value has been enforced.
ContentEntityBase::isTranslatable function core/lib/Drupal/Core/Entity/ContentEntityBase.php Returns the translation support status.
ContentEntityBase::removeTranslation function core/lib/Drupal/Core/Entity/ContentEntityBase.php Removes the translation identified by the given language code.
ContentEntityBase::setRevisionTranslationAffected function core/lib/Drupal/Core/Entity/ContentEntityBase.php Marks the current revision translation as affected.
ContentEntityBase::setRevisionTranslationAffectedEnforced function core/lib/Drupal/Core/Entity/ContentEntityBase.php Enforces the revision translation affected flag value.
ContentEntityBaseUnitTest::testIsTranslatable function core/tests/Drupal/Tests/Core/Entity/ContentEntityBaseUnitTest.php @covers ::isTranslatable[[api-linebreak]]
ContentEntityBaseUnitTest::testIsTranslatableForMonolingual function core/tests/Drupal/Tests/Core/Entity/ContentEntityBaseUnitTest.php @covers ::isTranslatable[[api-linebreak]]
ContentEntityChangedTest::getRevisionTranslationAffectedFlag function core/tests/Drupal/KernelTests/Core/Entity/ContentEntityChangedTest.php Retrieves the revision translation affected flag value.
ContentEntityCloneTest::testEnforceIsNewOnClonedEntityTranslation function core/tests/Drupal/KernelTests/Core/Entity/ContentEntityCloneTest.php Tests that the flag for enforcing a new entity is not shared.
ContentEntityCloneTest::testNewRevisionOnCloneEntityTranslation function core/tests/Drupal/KernelTests/Core/Entity/ContentEntityCloneTest.php Tests that the flag for enforcing a new revision is not shared.
ContentEntityHasChangesTest::testHasTranslationChanges function core/tests/Drupal/KernelTests/Core/Entity/ContentEntityHasChangesTest.php Tests the correct functionality of the hasTranslationChanges() function.
ContentEntityStorageBase::createTranslation function core/lib/Drupal/Core/Entity/ContentEntityStorageBase.php Constructs a new entity translation object, without permanently saving it.
ContentEntityStorageBase::getLatestTranslationAffectedRevisionId function core/lib/Drupal/Core/Entity/ContentEntityStorageBase.php Returns the latest revision affecting the specified translation.
ContentEntityStorageBase::getRevisionTranslationMergeSkippedFieldNames function core/lib/Drupal/Core/Entity/ContentEntityStorageBase.php Returns an array of field names to skip when merging revision translations.
ContentEntityStorageBase::invokeTranslationHooks function core/lib/Drupal/Core/Entity/ContentEntityStorageBase.php Checks translation statuses and invoke the related hooks if needed.
ContentEntityStorageBase::isAnyRevisionTranslated function core/lib/Drupal/Core/Entity/ContentEntityStorageBase.php Checks whether any entity revision is translated.
ContentEntityStorageBase::isAnyStoredRevisionTranslated function core/lib/Drupal/Core/Entity/ContentEntityStorageBase.php Checks whether any stored entity revision is translated.
ContentEntityStorageBase::populateAffectedRevisionTranslations function core/lib/Drupal/Core/Entity/ContentEntityStorageBase.php Populates the affected flag for all the revision translations.

Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.