29 calls to Drupal::state()

BatchTestHelper::stack in core/modules/system/tests/modules/batch_test/src/BatchTestHelper.php
Helper function: Stores or retrieves traced execution data.
CronQueueTestDeriverQueue::processItem in core/modules/system/tests/modules/cron_queue_test/src/Plugin/QueueWorker/CronQueueTestDeriverQueue.php
Works on a single queue item.
CronQueueTestException::processItem in core/modules/system/tests/modules/cron_queue_test/src/Plugin/QueueWorker/CronQueueTestException.php
Works on a single queue item.
CronQueueTestLeaseTime::processItem in core/modules/system/tests/modules/cron_queue_test/src/Plugin/QueueWorker/CronQueueTestLeaseTime.php
Works on a single queue item.
CronQueueTestRequeueException::processItem in core/modules/system/tests/modules/cron_queue_test/src/Plugin/QueueWorker/CronQueueTestRequeueException.php
Works on a single queue item.
DrupalTest::testState in core/tests/Drupal/Tests/Core/DrupalTest.php
Tests the state() method.
EntityTestHooks::entityBaseFieldInfoAlter in core/modules/system/tests/modules/entity_test/src/Hook/EntityTestHooks.php
Implements hook_entity_base_field_info_alter().
EntityTestHooks::entityBundleInfoAlter in core/modules/system/tests/modules/entity_test/src/Hook/EntityTestHooks.php
Implements hook_entity_bundle_info_alter().
EntityTestHooks::entityTypeAlter in core/modules/system/tests/modules/entity_test/src/Hook/EntityTestHooks.php
Implements hook_entity_type_alter().
EntityTestHooks::recordHooks in core/modules/system/tests/modules/entity_test/src/Hook/EntityTestHooks.php
Helper function to be used to record hook invocations.
HelpTestTwigNodeVisitor::setStateValue in core/modules/help/tests/modules/help_topics_twig_tester/src/HelpTestTwigNodeVisitor.php
Sets state information.
ImageModuleTestHooks::imageEffectInfoAlter in core/modules/image/tests/modules/image_module_test/src/Hook/ImageModuleTestHooks.php
Implements hook_image_effect_info_alter().
ImageModuleTestHooks::imageStyleFlush in core/modules/image/tests/modules/image_module_test/src/Hook/ImageModuleTestHooks.php
Implements hook_image_style_flush().
ImageStyleFlushTest::testFlush in core/modules/image/tests/src/Functional/ImageStyleFlushTest.php
General test to flush a style.
MigrateDrupalUninstallTest::testUninstall in core/modules/migrate_drupal/tests/src/Kernel/MigrateDrupalUninstallTest.php
Tests uninstall.
MigrateEventsTest::setUp in core/modules/migrate/tests/src/Kernel/MigrateEventsTest.php
migrate_drupal_uninstall in core/modules/migrate_drupal/migrate_drupal.install
Implements hook_uninstall().
SearchEmbeddedForm::submitForm in core/modules/search/tests/modules/search_embedded_form/src/Form/SearchEmbeddedForm.php
Form submission handler.
TestSqlBase::__construct in core/modules/migrate/tests/src/Kernel/SqlBaseTest.php
Overrides the constructor so we can create one easily.
TestSubscriber::setException in core/modules/package_manager/tests/modules/package_manager_test_validation/src/EventSubscriber/TestSubscriber.php
Sets an exception to throw for a specific event.
TestSubscriber::setMessage in core/modules/package_manager/tests/modules/package_manager_test_validation/src/EventSubscriber/TestSubscriber.php
Sets a status message that will be sent to the messenger for an event.
TestSubscriber::setTestResult in core/modules/package_manager/tests/modules/package_manager_test_validation/src/EventSubscriber/TestSubscriber.php
Sets validation results for a specific event.
ViewSelectionEntityReferenceTest::testSelectionPlugin in core/modules/views/tests/src/Kernel/Entity/ViewSelectionEntityReferenceTest.php
Tests the ViewSelection plugin.
ViewsFormTestHooks::formViewsFormMediaMediaPageListAlter in core/modules/views/tests/modules/views_form_test/src/Hook/ViewsFormTestHooks.php
Implements hook_form_BASE_FORM_ID_alter().
WorkflowTypeTestHooks::workflowTypeInfoAlter in core/modules/workflows/tests/modules/workflow_type_test/src/Hook/WorkflowTypeTestHooks.php
Implements hook_workflow_type_info_alter().
Workspace::postDelete in core/modules/workspaces/src/Entity/Workspace.php
Acts on deleted entities before the delete hook is invoked.
WorkspaceCRUDTest::setUp in core/modules/workspaces/tests/src/Kernel/WorkspaceCRUDTest.php
WorkspaceInformationTest::setUp in core/modules/workspaces/tests/src/Kernel/WorkspaceInformationTest.php
WorkspacesTestHooks::entityTypeAlter in core/modules/workspaces/tests/modules/workspaces_test/src/Hook/WorkspacesTestHooks.php
Implements hook_entity_type_alter().

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