Search for %s

  1. Search 7.x for %s
  2. Search 9.5.x for %s
  3. Search 10.3.x for %s
  4. Search 11.x for %s
  5. Search main for %s
  6. Other projects
Title Object type File name Summary
StateTransitionValidationTest class core/modules/content_moderation/tests/src/Unit/StateTransitionValidationTest.php @coversDefaultClass \Drupal\content_moderation\StateTransitionValidation[[api-linebreak]]
@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::testDeprecatedEntityParameter function core/modules/content_moderation/tests/src/Unit/StateTransitionValidationTest.php @expectedDeprecation Omitting the $entity parameter from Drupal\content_moderation\StateTransitionValidation::isTransitionValid is deprecated and will be required in Drupal 9.0.0.
@group legacy
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.
StateValuesCleanAdvancedTest class core/modules/system/tests/src/Functional/Form/StateValuesCleanAdvancedTest.php Tests proper removal of submitted form values using
\Drupal\Core\Form\FormState::cleanValues() when having forms with elements
containing buttons like "managed_file".
StateValuesCleanAdvancedTest.php file core/modules/system/tests/src/Functional/Form/StateValuesCleanAdvancedTest.php
StateValuesCleanAdvancedTest::$defaultTheme property core/modules/system/tests/src/Functional/Form/StateValuesCleanAdvancedTest.php The theme to install as the default for testing.
StateValuesCleanAdvancedTest::$image property core/modules/system/tests/src/Functional/Form/StateValuesCleanAdvancedTest.php An image file path for uploading.
StateValuesCleanAdvancedTest::$modules property core/modules/system/tests/src/Functional/Form/StateValuesCleanAdvancedTest.php Modules to enable.
StateValuesCleanAdvancedTest::testFormStateValuesCleanAdvanced function core/modules/system/tests/src/Functional/Form/StateValuesCleanAdvancedTest.php Tests \Drupal\Core\Form\FormState::cleanValues().
StateValuesCleanTest class core/modules/system/tests/src/Functional/Form/StateValuesCleanTest.php Tests proper removal of submitted form values using
\Drupal\Core\Form\FormState::cleanValues().
StateValuesCleanTest.php file core/modules/system/tests/src/Functional/Form/StateValuesCleanTest.php
StateValuesCleanTest::$defaultTheme property core/modules/system/tests/src/Functional/Form/StateValuesCleanTest.php The theme to install as the default for testing.
StateValuesCleanTest::$modules property core/modules/system/tests/src/Functional/Form/StateValuesCleanTest.php Modules to enable.
StateValuesCleanTest::testFormStateValuesClean function core/modules/system/tests/src/Functional/Form/StateValuesCleanTest.php Tests \Drupal\Core\Form\FormState::cleanValues().
StaticDiscovery class core/lib/Drupal/Component/Plugin/Discovery/StaticDiscovery.php A discovery mechanism that allows plugin definitions to be manually
registered rather than actively discovered.
StaticDiscovery.php file core/lib/Drupal/Component/Plugin/Discovery/StaticDiscovery.php
StaticDiscovery::deleteDefinition function core/lib/Drupal/Component/Plugin/Discovery/StaticDiscovery.php Deletes a plugin definition.
StaticDiscovery::getDefinitions function core/lib/Drupal/Component/Plugin/Discovery/StaticDiscovery.php Gets the definition of all plugins for this type.
StaticDiscovery::setDefinition function core/lib/Drupal/Component/Plugin/Discovery/StaticDiscovery.php Sets a plugin definition.
StaticDiscoveryDecorator class core/lib/Drupal/Component/Plugin/Discovery/StaticDiscoveryDecorator.php A decorator that allows manual registration of undiscoverable definitions.
StaticDiscoveryDecorator.php file core/lib/Drupal/Component/Plugin/Discovery/StaticDiscoveryDecorator.php
StaticDiscoveryDecorator::$decorated property core/lib/Drupal/Component/Plugin/Discovery/StaticDiscoveryDecorator.php The Discovery object being decorated.
StaticDiscoveryDecorator::$registerDefinitions property core/lib/Drupal/Component/Plugin/Discovery/StaticDiscoveryDecorator.php A callback or closure used for registering additional definitions.
StaticDiscoveryDecorator::getDefinition function core/lib/Drupal/Component/Plugin/Discovery/StaticDiscoveryDecorator.php
StaticDiscoveryDecorator::getDefinitions function core/lib/Drupal/Component/Plugin/Discovery/StaticDiscoveryDecorator.php Gets the definition of all plugins for this type.
StaticDiscoveryDecorator::__call function core/lib/Drupal/Component/Plugin/Discovery/StaticDiscoveryDecorator.php Passes through all unknown calls onto the decorated object
StaticDiscoveryDecorator::__construct function core/lib/Drupal/Component/Plugin/Discovery/StaticDiscoveryDecorator.php Constructs a \Drupal\Component\Plugin\Discovery\StaticDiscoveryDecorator object.
StaticDiscoveryDecoratorTest class core/tests/Drupal/Tests/Component/Plugin/Discovery/StaticDiscoveryDecoratorTest.php @group Plugin
@coversDefaultClass \Drupal\Component\Plugin\Discovery\StaticDiscoveryDecorator[[api-linebreak]]
StaticDiscoveryDecoratorTest.php file core/tests/Drupal/Tests/Component/Plugin/Discovery/StaticDiscoveryDecoratorTest.php
StaticDiscoveryDecoratorTest::getRegisterDefinitionsCallback function core/tests/Drupal/Tests/Component/Plugin/Discovery/StaticDiscoveryDecoratorTest.php Helper method to provide a mocked callback object with expectations.
StaticDiscoveryDecoratorTest::providerCall function core/tests/Drupal/Tests/Component/Plugin/Discovery/StaticDiscoveryDecoratorTest.php Data provider for testCall().
StaticDiscoveryDecoratorTest::providerGetDefinition function core/tests/Drupal/Tests/Component/Plugin/Discovery/StaticDiscoveryDecoratorTest.php Data provider for testGetDefinitions().
StaticDiscoveryDecoratorTest::providerGetDefinitions function core/tests/Drupal/Tests/Component/Plugin/Discovery/StaticDiscoveryDecoratorTest.php Data provider for testGetDefinitions().
StaticDiscoveryDecoratorTest::testCall function core/tests/Drupal/Tests/Component/Plugin/Discovery/StaticDiscoveryDecoratorTest.php @covers ::__call[[api-linebreak]]
@dataProvider providerCall
StaticDiscoveryDecoratorTest::testGetDefinition function core/tests/Drupal/Tests/Component/Plugin/Discovery/StaticDiscoveryDecoratorTest.php @covers ::getDefinition[[api-linebreak]]
@dataProvider providerGetDefinition
StaticDiscoveryDecoratorTest::testGetDefinitions function core/tests/Drupal/Tests/Component/Plugin/Discovery/StaticDiscoveryDecoratorTest.php @covers ::getDefinitions[[api-linebreak]]
@dataProvider providerGetDefinitions
StaticDiscoveryTest class core/tests/Drupal/KernelTests/Core/Plugin/Discovery/StaticDiscoveryTest.php Tests that plugins using static discovery are correctly discovered.
StaticDiscoveryTest.php file core/tests/Drupal/KernelTests/Core/Plugin/Discovery/StaticDiscoveryTest.php
StaticDiscoveryTest::setUp function core/tests/Drupal/KernelTests/Core/Plugin/Discovery/StaticDiscoveryTest.php
StaticFileCacheBackend class core/tests/Drupal/Tests/Component/FileCache/StaticFileCacheBackend.php Allows to cache data based on file modification dates in a static cache.
StaticFileCacheBackend.php file core/tests/Drupal/Tests/Component/FileCache/StaticFileCacheBackend.php
StaticFileCacheBackend::$bin property core/tests/Drupal/Tests/Component/FileCache/StaticFileCacheBackend.php Bin used for storing the data in the static cache.
StaticFileCacheBackend::$cache property core/tests/Drupal/Tests/Component/FileCache/StaticFileCacheBackend.php Internal static cache.
StaticFileCacheBackend::delete function core/tests/Drupal/Tests/Component/FileCache/StaticFileCacheBackend.php Deletes data from a cache backend.
StaticFileCacheBackend::fetch function core/tests/Drupal/Tests/Component/FileCache/StaticFileCacheBackend.php Fetches data from the cache backend.
StaticFileCacheBackend::reset function core/tests/Drupal/Tests/Component/FileCache/StaticFileCacheBackend.php Allows tests to reset the static cache to avoid side effects.

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