Search for getState

  1. Search 7.x for getState
  2. Search 9.5.x for getState
  3. Search 10.3.x for getState
  4. Search 11.x for getState
  5. Other projects
Title Object type File name Summary
ContentModeration::getState function core/modules/content_moderation/src/Plugin/WorkflowType/ContentModeration.php Gets a workflow state.
EndOfTransactionQueriesTest::getStatementsForTable function core/tests/Drupal/KernelTests/Core/Cache/EndOfTransactionQueriesTest.php Filters statements by table name.
MigrationConfigurationTrait::getState function core/modules/migrate_drupal/src/MigrationConfigurationTrait.php Gets the state service.
PredefinedStatesWorkflowTestType::getState function core/modules/workflows/tests/modules/workflow_type_test/src/Plugin/WorkflowType/PredefinedStatesWorkflowTestType.php Gets a workflow state.
PredefinedStatesWorkflowTestType::getStates function core/modules/workflows/tests/modules/workflow_type_test/src/Plugin/WorkflowType/PredefinedStatesWorkflowTestType.php Gets state objects for the provided state IDs.
Statement::getStatement function core/lib/Drupal/Core/Database/Driver/sqlite/Statement.php The PDO SQLite layer doesn't replace numeric placeholders in queries
correctly, and this makes numeric expressions (such as COUNT(*) >= :count)
fail. We replace numeric placeholders in the query ourselves to work
around this bug.
StatementPrefetch::getStatement function core/lib/Drupal/Core/Database/StatementPrefetch.php Grab a PDOStatement object from a given query and its arguments.
WidgetBase::getWidgetState function core/lib/Drupal/Core/Field/WidgetBase.php Retrieves processing information about the widget from $form_state.
WidgetBase::getWidgetStateParents function core/lib/Drupal/Core/Field/WidgetBase.php Returns the location of processing information within $form_state.
WidgetBase::setWidgetState function core/lib/Drupal/Core/Field/WidgetBase.php Stores processing information about the widget in $form_state.
WidgetBaseInterface::getWidgetState function core/lib/Drupal/Core/Field/WidgetBaseInterface.php Retrieves processing information about the widget from $form_state.
WidgetBaseInterface::setWidgetState function core/lib/Drupal/Core/Field/WidgetBaseInterface.php Stores processing information about the widget in $form_state.
WorkflowTest::testGetState function core/modules/workflows/tests/src/Unit/WorkflowTest.php @covers ::getState
WorkflowTest::testGetStateException function core/modules/workflows/tests/src/Unit/WorkflowTest.php @covers ::getState
WorkflowTest::testGetStates function core/modules/workflows/tests/src/Unit/WorkflowTest.php @covers ::getStates
WorkflowTest::testGetStatesException function core/modules/workflows/tests/src/Unit/WorkflowTest.php @covers ::getStates
WorkflowTypeBase::getState function core/modules/workflows/src/Plugin/WorkflowTypeBase.php Gets a workflow state.
WorkflowTypeBase::getStates function core/modules/workflows/src/Plugin/WorkflowTypeBase.php Gets state objects for the provided state IDs.
WorkflowTypeInterface::getState function core/modules/workflows/src/WorkflowTypeInterface.php Gets a workflow state.
WorkflowTypeInterface::getStates function core/modules/workflows/src/WorkflowTypeInterface.php Gets state objects for the provided state IDs.

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