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
SystemRequirementsHooks::checkRequirements function core/modules/system/src/Hook/SystemRequirementsHooks.php Check requirements for a given phase.
SystemRequirementsHooks::runtimeRequirements function core/modules/system/src/Hook/SystemRequirementsHooks.php Implements hook_runtime_requirements().
SystemRequirementsHooks::updateRequirements function core/modules/system/src/Hook/SystemRequirementsHooks.php Implements hook_update_requirements().
TaggedHandlersPassTest::testIdCollectorProcessRequiredHandlers function core/tests/Drupal/Tests/Core/DependencyInjection/Compiler/TaggedHandlersPassTest.php Tests a required consumer with no handlers.
TaggedHandlersPassTest::testProcessRequiredHandlers function core/tests/Drupal/Tests/Core/DependencyInjection/Compiler/TaggedHandlersPassTest.php Tests a required consumer with no handlers.
Tasks::engineVersionRequirementsCheck function core/lib/Drupal/Core/Database/Install/Tasks.php Checks engine version requirements for the status report.
TestFieldConstraint::getRequiredOptions function core/modules/field/tests/modules/field_test/src/Plugin/Validation/Constraint/TestFieldConstraint.php
TestingRequirementsRequirements class core/profiles/tests/testing_requirements/src/Install/Requirements/TestingRequirementsRequirements.php Install time requirements for the testing_requirements module.
TestingRequirementsRequirements.php file core/profiles/tests/testing_requirements/src/Install/Requirements/TestingRequirementsRequirements.php
TestingRequirementsRequirements::getRequirements function core/profiles/tests/testing_requirements/src/Install/Requirements/TestingRequirementsRequirements.php Check installation requirements.
testing_requirements.info.yml file core/profiles/tests/testing_requirements/testing_requirements.info.yml core/profiles/tests/testing_requirements/testing_requirements.info.yml
testing_theme_required_blocks.info.yml file core/profiles/tests/testing_themes_blocks/themes/testing_theme_required_blocks/testing_theme_required_blocks.info.yml core/profiles/tests/testing_themes_blocks/themes/testing_theme_required_blocks/testing_theme_required_blocks.info.yml
TestMigration::setRequirements function core/modules/migrate/tests/src/Unit/MigrationTest.php Sets the requirements values.
TestModuleRequiredByThemeHooks class core/modules/system/tests/themes/test_theme_depending_on_modules/test_module_required_by_theme/src/Hook/TestModuleRequiredByThemeHooks.php Hook implementations for test_module_required_by_theme.
TestModuleRequiredByThemeHooks.php file core/modules/system/tests/themes/test_theme_depending_on_modules/test_module_required_by_theme/src/Hook/TestModuleRequiredByThemeHooks.php
TestModuleRequiredByThemeHooks::systemInfoAlter function core/modules/system/tests/themes/test_theme_depending_on_modules/test_module_required_by_theme/src/Hook/TestModuleRequiredByThemeHooks.php Implements hook_system_info_alter().
TestRequirementsTrait trait core/tests/Drupal/Tests/TestRequirementsTrait.php Allows test classes to require Drupal modules as dependencies.
TestRequirementsTrait.php file core/tests/Drupal/Tests/TestRequirementsTrait.php
TestRequirementsTrait::getDrupalRoot function core/tests/Drupal/Tests/TestRequirementsTrait.php Returns the Drupal root directory.
TestType::getRequiredStates function core/modules/workflows/tests/modules/workflow_type_test/src/Plugin/WorkflowType/TestType.php Gets the required states of workflow type.
test_another_module_required_by_theme.info.yml file core/modules/system/tests/themes/test_theme_depending_on_modules/test_another_module_required_by_theme/test_another_module_required_by_theme.info.yml core/modules/system/tests/themes/test_theme_depending_on_modules/test_another_module_required_by_theme/test_another_module_required_by_theme.info.yml
test_module_required_by_theme.info.yml file core/modules/system/tests/themes/test_theme_depending_on_modules/test_module_required_by_theme/test_module_required_by_theme.info.yml core/modules/system/tests/themes/test_theme_depending_on_modules/test_module_required_by_theme/test_module_required_by_theme.info.yml
TextareaWithSummaryTest::testTextSummaryRequiredBehavior function core/modules/text/tests/src/FunctionalJavascript/TextareaWithSummaryTest.php Tests that the textSummary behavior is not run for required summary fields.
TextFieldTest::testRequiredLongTextWithFileUpload function core/modules/text/tests/src/Functional/TextFieldTest.php Tests required long text with file upload.
TextSummaryTest::testRequiredSummary function core/modules/text/tests/src/Kernel/TextSummaryTest.php Tests required summary.
ToolbarItemDependencyConstraint::getRequiredOptions function core/modules/ckeditor5/src/Plugin/Validation/Constraint/ToolbarItemDependencyConstraint.php
ToolkitGdTest::testGetRequirements function core/tests/Drupal/KernelTests/Core/Image/ToolkitGdTest.php Tests get requirements.
ToolkitSetupFormTest::testGdToolkitRequirements function core/tests/Drupal/FunctionalTests/Image/ToolkitSetupFormTest.php Tests GD toolkit requirements on the Status Report.
UniqueLabelInListConstraint::getRequiredOptions function core/modules/ckeditor5/src/Plugin/Validation/Constraint/UniqueLabelInListConstraint.php
UnpackManager::isDevRequirement function composer/Plugin/RecipeUnpack/UnpackManager.php Checks if a package is a dev requirement.
UpdateRequirements class core/modules/update/src/Hook/UpdateRequirements.php Requirements for the update module.
UpdateRequirements.php file core/modules/update/src/Hook/UpdateRequirements.php
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.

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