Search for state

  1. Search 7.x for state
  2. Search 9.5.x for state
  3. Search 10.3.x for state
  4. Search 11.x for state
  5. Other projects

Exact matches

These are exact matches according to your search
Title Object type File name Summary
State class core/modules/workflows/src/State.php A value object representing a workflow state.
state service core/core.services.yml Drupal\Core\State\State
State class core/lib/Drupal/Core/State/State.php Provides the state system using a key value store.

All search results

Title Object type File name Summary
LegacyStateFileExists::$excludeDeprecated property core/modules/migrate_drupal/tests/src/Kernel/LegacyStateFileExists.php
LegacyValidateMigrationStateTest class core/modules/migrate_drupal/tests/src/Kernel/d6/LegacyValidateMigrationStateTest.php Extends Drupal\Tests\migrate_drupal\Kernel\d6\ValidateMigrationStateTest
to test with deprecated modules.
LegacyValidateMigrationStateTest class core/modules/migrate_drupal/tests/src/Kernel/d7/LegacyValidateMigrationStateTest.php Extends Drupal\Tests\migrate_drupal\Kernel\d7\ValidateMigrationStateTest
to test with deprecated modules.
LegacyValidateMigrationStateTest.php file core/modules/migrate_drupal/tests/src/Kernel/d6/LegacyValidateMigrationStateTest.php
LegacyValidateMigrationStateTest.php file core/modules/migrate_drupal/tests/src/Kernel/d7/LegacyValidateMigrationStateTest.php
LegacyValidateMigrationStateTest::$excludeDeprecated property core/modules/migrate_drupal/tests/src/Kernel/d6/LegacyValidateMigrationStateTest.php
LegacyValidateMigrationStateTest::$excludeDeprecated property core/modules/migrate_drupal/tests/src/Kernel/d7/LegacyValidateMigrationStateTest.php
LoggedStatementsTrait trait core/modules/system/tests/modules/database_statement_monitoring_test/src/LoggedStatementsTrait.php Trait for Connection classes that can store logged statements.
LoggedStatementsTrait.php file core/modules/system/tests/modules/database_statement_monitoring_test/src/LoggedStatementsTrait.php
LoggedStatementsTrait::$loggedStatements property core/modules/system/tests/modules/database_statement_monitoring_test/src/LoggedStatementsTrait.php Logged statements.
LoggedStatementsTrait::getDriverClass function core/modules/system/tests/modules/database_statement_monitoring_test/src/LoggedStatementsTrait.php
LoggedStatementsTrait::getLoggedStatements function core/modules/system/tests/modules/database_statement_monitoring_test/src/LoggedStatementsTrait.php Returns the executed queries.
LoggedStatementsTrait::query function core/modules/system/tests/modules/database_statement_monitoring_test/src/LoggedStatementsTrait.php
LoggedStatementsTrait::resetLoggedStatements function core/modules/system/tests/modules/database_statement_monitoring_test/src/LoggedStatementsTrait.php Resets logged statements.
MaintenanceMode::$state property core/lib/Drupal/Core/Site/MaintenanceMode.php The state.
MatcherDumper::$state property core/lib/Drupal/Core/Routing/MatcherDumper.php The state.
MatcherDumperTest::$state property core/tests/Drupal/KernelTests/Core/Routing/MatcherDumperTest.php The state.
MediaLibraryAddFormTest::testFormStateValidation function core/modules/media_library/tests/src/Kernel/MediaLibraryAddFormTest.php Tests the validation of the library state in the media library add form.
MediaLibraryState class core/modules/media_library/src/MediaLibraryState.php A value object for the media library state.
MediaLibraryState.php file core/modules/media_library/src/MediaLibraryState.php
MediaLibraryState::create function core/modules/media_library/src/MediaLibraryState.php Creates a new MediaLibraryState object.
MediaLibraryState::fromRequest function core/modules/media_library/src/MediaLibraryState.php Get the media library state from a request.
MediaLibraryState::getAllowedTypeIds function core/modules/media_library/src/MediaLibraryState.php Returns the media type IDs which can be selected.
MediaLibraryState::getAvailableSlots function core/modules/media_library/src/MediaLibraryState.php Returns the number of additional media items that can be selected.
MediaLibraryState::getHash function core/modules/media_library/src/MediaLibraryState.php Get the hash for the state object.
MediaLibraryState::getOpenerId function core/modules/media_library/src/MediaLibraryState.php Returns the ID of the media library opener service.
MediaLibraryState::getOpenerParameters function core/modules/media_library/src/MediaLibraryState.php Returns all opener-specific parameter values.
MediaLibraryState::getSelectedTypeId function core/modules/media_library/src/MediaLibraryState.php Returns the selected media type.
MediaLibraryState::hasSlotsAvailable function core/modules/media_library/src/MediaLibraryState.php Determines if additional media items can be selected.
MediaLibraryState::isValidHash function core/modules/media_library/src/MediaLibraryState.php Validate a hash for the state object.
MediaLibraryState::validateRequiredParameters function core/modules/media_library/src/MediaLibraryState.php Validates the required parameters for a new MediaLibraryState object.
MediaLibraryState::__construct function core/modules/media_library/src/MediaLibraryState.php
MediaLibraryStateTest class core/modules/media_library/tests/src/Kernel/MediaLibraryStateTest.php Tests the media library state value object.
MediaLibraryStateTest.php file core/modules/media_library/tests/src/Kernel/MediaLibraryStateTest.php
MediaLibraryStateTest::$modules property core/modules/media_library/tests/src/Kernel/MediaLibraryStateTest.php
MediaLibraryStateTest::providerCreate function core/modules/media_library/tests/src/Kernel/MediaLibraryStateTest.php Data provider for testCreate().
MediaLibraryStateTest::providerFromRequest function core/modules/media_library/tests/src/Kernel/MediaLibraryStateTest.php Data provider for testFromRequest().
MediaLibraryStateTest::setUp function core/modules/media_library/tests/src/Kernel/MediaLibraryStateTest.php
MediaLibraryStateTest::testCreate function core/modules/media_library/tests/src/Kernel/MediaLibraryStateTest.php Tests the media library state creation.
MediaLibraryStateTest::testFromRequest function core/modules/media_library/tests/src/Kernel/MediaLibraryStateTest.php Tests the hash validation when the state is created from a request.
MediaLibraryStateTest::testFromRequestQueryLess function core/modules/media_library/tests/src/Kernel/MediaLibraryStateTest.php @covers ::fromRequest[[api-linebreak]]
MediaLibraryStateTest::testHashUnaffectedByMediaTypeOrder function core/modules/media_library/tests/src/Kernel/MediaLibraryStateTest.php Test that hash is unaffected by allowed media type order.
MediaLibraryStateTest::testHashUnaffectedByOpenerParamOrder function core/modules/media_library/tests/src/Kernel/MediaLibraryStateTest.php Test that hash is unaffected by opener parameter order.
MediaLibraryStateTest::testMethods function core/modules/media_library/tests/src/Kernel/MediaLibraryStateTest.php Tests the media library state methods.
MediaLibraryStateTest::testOpenerParameters function core/modules/media_library/tests/src/Kernel/MediaLibraryStateTest.php @covers ::getOpenerParameters[[api-linebreak]]
MediaLibraryWidget::getFieldState function core/modules/media_library/src/Plugin/Field/FieldWidget/MediaLibraryWidget.php Gets the field state for the widget.
MediaLibraryWidget::setFieldState function core/modules/media_library/src/Plugin/Field/FieldWidget/MediaLibraryWidget.php Sets the field state for the widget.
MediaLibraryWidgetTest::assertMediaLibraryStateAccess function core/modules/media_library/tests/src/Kernel/MediaLibraryWidgetTest.php Assert if the given user has access to the given state.
MediaTypeForm::getSourceSubFormState function core/modules/media/src/MediaTypeForm.php Gets subform state for the media source configuration subform.
MigrateEventsTest::$state property core/modules/migrate/tests/src/Kernel/MigrateEventsTest.php State service for recording information received by event listeners.

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