Search for trans

  1. Search 7.x for trans
  2. Search 9.5.x for trans
  3. Search 8.9.x for trans
  4. Search 11.x for trans
  5. Other projects
Title Object type File name Summary
SqlContentEntityStorageTest::testGetTableMappingRevisionableTranslatable function core/tests/Drupal/Tests/Core/Entity/Sql/SqlContentEntityStorageTest.php Tests getTableMapping() with a revisionable, translatable entity type.
SqlContentEntityStorageTest::testGetTableMappingRevisionableTranslatableWithFields function core/tests/Drupal/Tests/Core/Entity/Sql/SqlContentEntityStorageTest.php Tests getTableMapping() with a complex entity type with fields.
SqlContentEntityStorageTest::testGetTableMappingTranslatable function core/tests/Drupal/Tests/Core/Entity/Sql/SqlContentEntityStorageTest.php Tests getTableMapping() with a non-revisionable, translatable entity type.
SqlContentEntityStorageTest::testGetTableMappingTranslatableWithFields function core/tests/Drupal/Tests/Core/Entity/Sql/SqlContentEntityStorageTest.php Tests getTableMapping() with a translatable entity type with fields.
State::canTransitionTo function core/modules/workflows/src/State.php Determines if the state can transition to the provided state ID.
State::getTransitions function core/modules/workflows/src/State.php Gets all the possible transition objects for the state.
State::getTransitionTo function core/modules/workflows/src/State.php Gets the Transition object for the provided state ID.
StateInterface::canTransitionTo function core/modules/workflows/src/StateInterface.php Determines if the state can transition to the provided state ID.
StateInterface::getTransitions function core/modules/workflows/src/StateInterface.php Gets all the possible transition objects for the state.
StateInterface::getTransitionTo function core/modules/workflows/src/StateInterface.php Gets the Transition object for the provided state ID.
StateTest::testCanTransitionTo function core/modules/workflows/tests/src/Unit/StateTest.php @covers ::canTransitionTo
StateTest::testGetTransitions function core/modules/workflows/tests/src/Unit/StateTest.php @covers ::getTransitions
StateTest::testGetTransitionTo function core/modules/workflows/tests/src/Unit/StateTest.php @covers ::getTransitionTo
StateTest::testGetTransitionToException function core/modules/workflows/tests/src/Unit/StateTest.php @covers ::getTransitionTo
StateTransitionValidation class core/modules/content_moderation/src/StateTransitionValidation.php Validates whether a certain state transition is allowed.
StateTransitionValidation.php file core/modules/content_moderation/src/StateTransitionValidation.php
StateTransitionValidation::$moderationInfo property core/modules/content_moderation/src/StateTransitionValidation.php The moderation information service.
StateTransitionValidation::$possibleTransitions property core/modules/content_moderation/src/StateTransitionValidation.php Stores the possible state transitions.
StateTransitionValidation::getValidTransitions function core/modules/content_moderation/src/StateTransitionValidation.php
StateTransitionValidation::isTransitionValid function core/modules/content_moderation/src/StateTransitionValidation.php
StateTransitionValidation::__construct function core/modules/content_moderation/src/StateTransitionValidation.php Constructs a new StateTransitionValidation.
StateTransitionValidationInterface interface core/modules/content_moderation/src/StateTransitionValidationInterface.php Validates whether a certain state transition is allowed.
StateTransitionValidationInterface.php file core/modules/content_moderation/src/StateTransitionValidationInterface.php
StateTransitionValidationInterface::getValidTransitions function core/modules/content_moderation/src/StateTransitionValidationInterface.php Gets a list of transitions that are legal for this user on this entity.
StateTransitionValidationInterface::isTransitionValid function core/modules/content_moderation/src/StateTransitionValidationInterface.php Checks if a transition between two states if valid for the given user.
StateTransitionValidationTest class core/modules/content_moderation/tests/src/Unit/StateTransitionValidationTest.php @coversDefaultClass \Drupal\content_moderation\StateTransitionValidation
@group content_moderation
StateTransitionValidationTest.php file core/modules/content_moderation/tests/src/Unit/StateTransitionValidationTest.php
StateTransitionValidationTest::$workflow property core/modules/content_moderation/tests/src/Unit/StateTransitionValidationTest.php A test workflow.
StateTransitionValidationTest::setUp function core/modules/content_moderation/tests/src/Unit/StateTransitionValidationTest.php
StateTransitionValidationTest::testUserSensitiveValidTransitions function core/modules/content_moderation/tests/src/Unit/StateTransitionValidationTest.php Verifies user-aware transition validation.
StateTransitionValidationTest::userTransitionsProvider function core/modules/content_moderation/tests/src/Unit/StateTransitionValidationTest.php Data provider for the user transition test.
StaticMap::transform function core/modules/migrate/src/Plugin/migrate/process/StaticMap.php Performs the associated process.
StaticTranslation class core/lib/Drupal/Core/StringTranslation/Translator/StaticTranslation.php String translator with a static cache for translations.
StaticTranslation.php file core/lib/Drupal/Core/StringTranslation/Translator/StaticTranslation.php
StaticTranslation::$translations property core/lib/Drupal/Core/StringTranslation/Translator/StaticTranslation.php String translations.
StaticTranslation::getLanguage function core/lib/Drupal/Core/StringTranslation/Translator/StaticTranslation.php Retrieves translations for a given language.
StaticTranslation::getStringTranslation function core/lib/Drupal/Core/StringTranslation/Translator/StaticTranslation.php Retrieves English string to given language.
StaticTranslation::reset function core/lib/Drupal/Core/StringTranslation/Translator/StaticTranslation.php Resets translation cache.
StaticTranslation::__construct function core/lib/Drupal/Core/StringTranslation/Translator/StaticTranslation.php Constructs a translator from an array of translations.
statistics_node_translation_counter.yml file core/modules/statistics/migrations/statistics_node_translation_counter.yml core/modules/statistics/migrations/statistics_node_translation_counter.yml
StorageTransformerException class core/lib/Drupal/Core/Config/StorageTransformerException.php Thrown by config storage transformers if they cannot acquire a lock.
StorageTransformerException.php file core/lib/Drupal/Core/Config/StorageTransformerException.php
StorageTransformEvent class core/lib/Drupal/Core/Config/StorageTransformEvent.php Class StorageTransformEvent.
StorageTransformEvent.php file core/lib/Drupal/Core/Config/StorageTransformEvent.php
StorageTransformEvent::$storage property core/lib/Drupal/Core/Config/StorageTransformEvent.php The configuration storage which is transformed.
StorageTransformEvent::getStorage function core/lib/Drupal/Core/Config/StorageTransformEvent.php Returns the mutable storage ready to be read from and written to.
StorageTransformEvent::__construct function core/lib/Drupal/Core/Config/StorageTransformEvent.php StorageTransformEvent constructor.
stream_wrapper.translations service core/modules/locale/locale.services.yml Drupal\locale\StreamWrapper\TranslationsStream
StringDatabaseStorage::countTranslations function core/modules/locale/src/StringDatabaseStorage.php
StringDatabaseStorage::createTranslation function core/modules/locale/src/StringDatabaseStorage.php

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