Search for required

  1. Search 7.x for required
  2. Search 9.5.x for required
  3. Search 8.9.x for required
  4. Search 10.3.x for required
  5. Other projects
Title Object type File name Summary
ValidKeysConstraintValidatorTest::testBothUnknownAndDynamicallyRequiredKeys function core/tests/Drupal/KernelTests/Core/TypedData/ValidKeysConstraintValidatorTest.php Tests detecting both unknown and required keys.
ValidKeysConstraintValidatorTest::testDynamicallyRequiredKeys function core/tests/Drupal/KernelTests/Core/TypedData/ValidKeysConstraintValidatorTest.php Tests detecting missing dynamically required keys.
ValidKeysConstraintValidatorTest::testRequiredKeys function core/tests/Drupal/KernelTests/Core/TypedData/ValidKeysConstraintValidatorTest.php Tests detecting missing required keys.
WidgetAccessTest::testRequiredFieldNoAccess function core/modules/media_library/tests/src/FunctionalJavascript/WidgetAccessTest.php Tests the widget with a required field that the user can't access.
WorkflowType::$required_states property core/modules/workflows/src/Attribute/WorkflowType.php States required to exist.
WorkflowType::$required_states property core/modules/workflows/src/Annotation/WorkflowType.php States required to exist.
WorkflowTypeBase::getRequiredStates function core/modules/workflows/src/Plugin/WorkflowTypeBase.php Gets the required states of workflow type.
WorkflowTypeInterface::getRequiredStates function core/modules/workflows/src/WorkflowTypeInterface.php Gets the required states of workflow type.

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