Search for require

  1. Search 7.x for require
  2. Search 9.5.x for require
  3. Search 8.9.x for require
  4. Search 10.3.x for require
  5. Search 11.x for require
  6. Other projects
Title Object type File name Summary
UpdateRequirements::requirementCheck function core/modules/update/src/Hook/UpdateRequirements.php Fills in the requirements array.
UpdateRequirements::runtime function core/modules/update/src/Hook/UpdateRequirements.php Implements hook_runtime_requirements().
UpdateRequirements::__construct function core/modules/update/src/Hook/UpdateRequirements.php
UpdateRequirementsTest class core/tests/Drupal/KernelTests/Core/Updater/UpdateRequirementsTest.php Tests hook_update_requirements() and hook_update_requirements_alter().
UpdateRequirementsTest.php file core/tests/Drupal/KernelTests/Core/Updater/UpdateRequirementsTest.php
UpdateRequirementsTest::testUpdateRequirements function core/tests/Drupal/KernelTests/Core/Updater/UpdateRequirementsTest.php Tests hook_update_requirements().
UpdateScriptTest::testRequirements function core/modules/system/tests/src/Functional/UpdateSystem/UpdateScriptTest.php Tests that requirements warnings and errors are correctly displayed.
UpdateScriptTestRequirements class core/modules/system/tests/modules/update_script_test/src/Hook/UpdateScriptTestRequirements.php Requirements for the Update Script Test module.
UpdateScriptTestRequirements.php file core/modules/system/tests/modules/update_script_test/src/Hook/UpdateScriptTestRequirements.php
UpdateScriptTestRequirements::update function core/modules/system/tests/modules/update_script_test/src/Hook/UpdateScriptTestRequirements.php Implements hook_update_requirements().
UpdateScriptTestRequirements::updateAlter function core/modules/system/tests/modules/update_script_test/src/Hook/UpdateScriptTestRequirements.php Implements hook_update_requirements_alter().
UpdateScriptTestRequirements::__construct function core/modules/system/tests/modules/update_script_test/src/Hook/UpdateScriptTestRequirements.php
UpdateTestBase::SECURITY_UPDATE_REQUIRED constant core/modules/update/tests/src/Functional/UpdateTestBase.php Denotes a security update will be required in the test case.
UpdateTestSchemaRequirements class core/modules/system/tests/modules/update_test_schema/src/Hook/UpdateTestSchemaRequirements.php Requirements for the Update Test Schema module.
UpdateTestSchemaRequirements.php file core/modules/system/tests/modules/update_test_schema/src/Hook/UpdateTestSchemaRequirements.php
UpdateTestSchemaRequirements::runtime function core/modules/system/tests/modules/update_test_schema/src/Hook/UpdateTestSchemaRequirements.php Implements hook_runtime_requirements().
update_check_requirements function core/includes/update.inc Checks update requirements and reports errors and (optionally) warnings.
update_system_schema_requirements function core/includes/update.inc Returns whether the minimum schema requirement has been satisfied.
UrlGenerator::isStrictRequirements function core/lib/Drupal/Core/Routing/UrlGenerator.php
UrlGenerator::setStrictRequirements function core/lib/Drupal/Core/Routing/UrlGenerator.php
UrlGeneratorTest::testUrlGenerationWithHttpsRequirement function core/tests/Drupal/Tests/Core/Routing/UrlGeneratorTest.php Tests the 'scheme' route requirement during URL generation.
UserMailRequired class core/modules/user/src/Plugin/Validation/Constraint/UserMailRequired.php Checks if the user's email address is provided if required.
UserMailRequired.php file core/modules/user/src/Plugin/Validation/Constraint/UserMailRequired.php
UserMailRequired::__construct function core/modules/user/src/Plugin/Validation/Constraint/UserMailRequired.php
UserMailRequiredValidator class core/modules/user/src/Plugin/Validation/Constraint/UserMailRequiredValidator.php Checks if the user's email address is provided if required.
UserMailRequiredValidator.php file core/modules/user/src/Plugin/Validation/Constraint/UserMailRequiredValidator.php
UserMailRequiredValidator::validate function core/modules/user/src/Plugin/Validation/Constraint/UserMailRequiredValidator.php
UserMailRequiredValidatorTest class core/modules/user/tests/src/Unit/Plugin/Validation/Constraint/UserMailRequiredValidatorTest.php Tests Drupal\user\Plugin\Validation\Constraint\UserMailRequiredValidator.
UserMailRequiredValidatorTest.php file core/modules/user/tests/src/Unit/Plugin/Validation/Constraint/UserMailRequiredValidatorTest.php
UserMailRequiredValidatorTest::createValidator function core/modules/user/tests/src/Unit/Plugin/Validation/Constraint/UserMailRequiredValidatorTest.php Creates a validator instance.
UserMailRequiredValidatorTest::providerTestValidate function core/modules/user/tests/src/Unit/Plugin/Validation/Constraint/UserMailRequiredValidatorTest.php Data provider for ::testValidate().
UserMailRequiredValidatorTest::testValidate function core/modules/user/tests/src/Unit/Plugin/Validation/Constraint/UserMailRequiredValidatorTest.php Tests validate.
UserRequirements class core/modules/user/src/Hook/UserRequirements.php Requirements for the User module.
UserRequirements.php file core/modules/user/src/Hook/UserRequirements.php
UserRequirements::runtime function core/modules/user/src/Hook/UserRequirements.php Implements hook_runtime_requirements().
UserRequirements::__construct function core/modules/user/src/Hook/UserRequirements.php
UserRequirementsTest class core/modules/user/tests/src/Kernel/UserRequirementsTest.php Tests user_requirements().
UserRequirementsTest class core/modules/user/tests/src/Functional/UserRequirementsTest.php Tests the requirements checks of the User module.
UserRequirementsTest.php file core/modules/user/tests/src/Kernel/UserRequirementsTest.php
UserRequirementsTest.php file core/modules/user/tests/src/Functional/UserRequirementsTest.php
UserRequirementsTest::$defaultTheme property core/modules/user/tests/src/Functional/UserRequirementsTest.php The theme to install as the default for testing.
UserRequirementsTest::$moduleHandler property core/modules/user/tests/src/Kernel/UserRequirementsTest.php Module handler for invoking user requirements.
UserRequirementsTest::$modules property core/modules/user/tests/src/Kernel/UserRequirementsTest.php Modules to install.
UserRequirementsTest::setUp function core/modules/user/tests/src/Kernel/UserRequirementsTest.php
UserRequirementsTest::testAnonymousUser function core/modules/user/tests/src/Functional/UserRequirementsTest.php Tests that the requirements check can detect a missing anonymous user.
UserRequirementsTest::testBlankUserEmails function core/modules/user/tests/src/Kernel/UserRequirementsTest.php Tests that the requirements check does not incorrectly flag blank emails.
UserRequirementsTest::testConflictingUserEmails function core/modules/user/tests/src/Kernel/UserRequirementsTest.php Tests that the requirements check can detect conflicting user emails.
UserRequirementsTest::testTranslatedUserEmail function core/modules/user/tests/src/Kernel/UserRequirementsTest.php Tests that the requirements check does not flag user translations.
ValidationTest::testCustomRequiredError function core/modules/system/tests/src/FunctionalJavascript/Form/ValidationTest.php Tests #required with custom validation errors.
ValidKeysConstraintValidatorTest::testBothUnknownAndDynamicallyRequiredKeys function core/tests/Drupal/KernelTests/Core/TypedData/ValidKeysConstraintValidatorTest.php Tests detecting both unknown and required keys.

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