Search for require

  1. Search 7.x for require
  2. Search 9.5.x for require
  3. Search 10.3.x for require
  4. Search 11.x for require
  5. Other projects
Title Object type File name Summary
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 This file provides testing functionality for update.php.
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().
TextFieldTest::testRequiredLongTextWithFileUpload function core/modules/text/tests/src/Functional/TextFieldTest.php Test required long text with file upload.
TextRequiredSummaryUpdateTest class core/modules/text/tests/src/Functional/TextRequiredSummaryUpdateTest.php Tests updates for adding required summary flags to widgets and fields.
TextRequiredSummaryUpdateTest.php file core/modules/text/tests/src/Functional/TextRequiredSummaryUpdateTest.php
TextRequiredSummaryUpdateTest::$defaultTheme property core/modules/text/tests/src/Functional/TextRequiredSummaryUpdateTest.php The theme to install as the default for testing.
TextRequiredSummaryUpdateTest::setDatabaseDumpFiles function core/modules/text/tests/src/Functional/TextRequiredSummaryUpdateTest.php Set database dump files to be used.
TextRequiredSummaryUpdateTest::testFieldAndWidgetUpdate function core/modules/text/tests/src/Functional/TextRequiredSummaryUpdateTest.php Tests that widgets and fields are updated for required summary flag.
TextSummaryTest::testRequiredSummary function core/modules/text/tests/src/Kernel/TextSummaryTest.php Test required summary.
text_post_update_add_required_summary_flag function core/modules/text/text.post_update.php Update text_with_summary fields to add summary required flags.
text_post_update_add_required_summary_flag_form_display function core/modules/text/text.post_update.php Update text_with_summary widgets to add summary required flags.
ToolkitGdTest::checkRequirements function core/tests/Drupal/KernelTests/Core/Image/ToolkitGdTest.php Check module requirements for the Drupal use case.
unicode_requirements function core/includes/unicode.inc Moves unicode_requirements() logic to system_requirements().
UpdateScriptTest::testRequirements function core/modules/system/tests/src/Functional/UpdateSystem/UpdateScriptTest.php Tests that requirements warnings and errors are correctly displayed.
UpdateTestBase::SECURITY_UPDATE_REQUIRED constant core/modules/update/tests/src/Functional/UpdateTestBase.php Denotes a security update will be required in the test case.
update_check_requirements function core/includes/update.inc Checks update requirements and reports errors and (optionally) warnings.
update_requirements function core/modules/update/update.install Implements hook_requirements().
update_script_test_requirements function core/modules/system/tests/modules/update_script_test/update_script_test.install Implements hook_requirements().
update_system_schema_requirements function core/includes/update.inc Returns whether the minimum schema requirement has been satisfied.
update_test_schema_requirements function core/modules/system/tests/modules/update_test_schema/update_test_schema.install Implements hook_requirements().
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 Test that the 'scheme' route requirement is respected 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
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 @coversDefaultClass \Drupal\user\Plugin\Validation\Constraint\UserMailRequiredValidator
@group user
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 @covers ::validate
UsesCommandRequirements class core/tests/Drupal/BuildTests/Framework/Tests/ExternalCommandRequirementTest.php
UsesCommandRequirements::externalCommandIsAvailable function core/tests/Drupal/BuildTests/Framework/Tests/ExternalCommandRequirementTest.php Determine if an external command is available.
ValidationTest::testCustomRequiredError function core/modules/system/tests/src/Functional/Form/ValidationTest.php Tests #required with custom validation errors.
VariableTranslation::checkRequirements function core/modules/migrate_drupal/src/Plugin/migrate/source/d6/VariableTranslation.php Checks if requirements for this plugin are OK.
VariableTranslationCheckRequirementsTest class core/modules/migrate_drupal/tests/src/Kernel/d6/VariableTranslationCheckRequirementsTest.php Tests check requirements for variable translation source plugin.
VariableTranslationCheckRequirementsTest.php file core/modules/migrate_drupal/tests/src/Kernel/d6/VariableTranslationCheckRequirementsTest.php
VariableTranslationCheckRequirementsTest::$modules property core/modules/migrate_drupal/tests/src/Kernel/d6/VariableTranslationCheckRequirementsTest.php Modules to enable.
VariableTranslationCheckRequirementsTest::setup function core/modules/migrate_drupal/tests/src/Kernel/d6/VariableTranslationCheckRequirementsTest.php
VariableTranslationCheckRequirementsTest::testCheckRequirements function core/modules/migrate_drupal/tests/src/Kernel/d6/VariableTranslationCheckRequirementsTest.php Tests exception in thrown when the i18n_variable table does not 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.
workspaces_requirements function core/modules/workspaces/workspaces.install Implements hook_requirements().

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