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. Other projects
Title Object type File name Summary
testing_requirements.install file core/profiles/testing_requirements/testing_requirements.install Install hooks for test profile.
testing_requirements.install file core/profiles/tests/testing_requirements/testing_requirements.install
testing_requirements_requirements function core/profiles/tests/testing_requirements/testing_requirements.install Implements hook_requirements().
testing_requirements_requirements function core/profiles/testing_requirements/testing_requirements.install Implements hook_requirements().
testing_theme_required_blocks.info.yml file core/profiles/testing_themes_blocks/themes/testing_theme_required_blocks/testing_theme_required_blocks.info.yml core/profiles/testing_themes_blocks/themes/testing_theme_required_blocks/testing_theme_required_blocks.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
test_module_required_by_theme.module file core/modules/system/tests/themes/test_theme_depending_on_modules/test_module_required_by_theme/test_module_required_by_theme.module
test_module_required_by_theme_system_info_alter function core/modules/system/tests/themes/test_theme_depending_on_modules/test_module_required_by_theme/test_module_required_by_theme.module Implements hook_system_info_alter().
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.
ToolbarItemConditionsMetConstraint::$filterRequiredMessage property core/modules/ckeditor5/src/Plugin/Validation/Constraint/ToolbarItemConditionsMetConstraint.php The violation message when a required filter is missing.
ToolbarItemConditionsMetConstraint::$imageUploadStatusRequiredMessage property core/modules/ckeditor5/src/Plugin/Validation/Constraint/ToolbarItemConditionsMetConstraint.php The violation message when the required image upload status is not set.
ToolbarItemConditionsMetConstraint::$multipleMissingRequiredPluginMessage property core/modules/ckeditor5/src/Plugin/Validation/Constraint/ToolbarItemConditionsMetConstraint.php The violation message when >1 required plugin is missing.
ToolbarItemConditionsMetConstraint::$singleMissingRequiredPluginMessage property core/modules/ckeditor5/src/Plugin/Validation/Constraint/ToolbarItemConditionsMetConstraint.php The violation message when 1 required plugin is missing.
ToolbarItemDependencyConstraint::getRequiredOptions function core/modules/ckeditor5/src/Plugin/Validation/Constraint/ToolbarItemDependencyConstraint.php
ToolkitGdTest::testGetRequirements function core/tests/Drupal/KernelTests/Core/Image/ToolkitGdTest.php @covers ::getRequirements[[api-linebreak]]
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.