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
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.
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::$message property core/modules/user/src/Plugin/Validation/Constraint/UserMailRequired.php Violation message. Use the same message as FormValidator.
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

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