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 11.x for require
  5. Other projects
Title Object type File name Summary
InstallerProfileRequirementsTest class core/tests/Drupal/FunctionalTests/Installer/InstallerProfileRequirementsTest.php Tests that an install profile can implement hook_requirements().
InstallerProfileRequirementsTest.php file core/tests/Drupal/FunctionalTests/Installer/InstallerProfileRequirementsTest.php
InstallerProfileRequirementsTest::$defaultTheme property core/tests/Drupal/FunctionalTests/Installer/InstallerProfileRequirementsTest.php The theme to install as the default for testing.
InstallerProfileRequirementsTest::$profile property core/tests/Drupal/FunctionalTests/Installer/InstallerProfileRequirementsTest.php The installation profile to install.
InstallerProfileRequirementsTest::setUpRequirementsProblem function core/tests/Drupal/FunctionalTests/Installer/InstallerProfileRequirementsTest.php Installer step: Requirements problem.
InstallerProfileRequirementsTest::setUpSettings function core/tests/Drupal/FunctionalTests/Installer/InstallerProfileRequirementsTest.php Installer step: Configure settings.
InstallerProfileRequirementsTest::setUpSite function core/tests/Drupal/FunctionalTests/Installer/InstallerProfileRequirementsTest.php Final installer step: Configure site.
InstallerProfileRequirementsTest::testHookRequirementsFailure function core/tests/Drupal/FunctionalTests/Installer/InstallerProfileRequirementsTest.php Assert that the profile failed hook_requirements().
InstallerTestBase::setUpRequirementsProblem function core/tests/Drupal/FunctionalTests/Installer/InstallerTestBase.php Installer step: Requirements problem.
InstallerTranslationExistingFileTest::setUpRequirementsProblem function core/tests/Drupal/FunctionalTests/Installer/InstallerTranslationExistingFileTest.php Installer step: Requirements problem.
InstallTest::testRequiredModuleSchemaVersions function core/modules/system/tests/src/Kernel/Module/InstallTest.php Tests recorded schema versions of early installed modules in the installer.
install_check_requirements function core/includes/install.core.inc Checks installation requirements and reports any errors.
install_display_requirements function core/includes/install.core.inc Displays installation requirements.
install_recipe_required_modules function core/includes/install.core.inc Installs required modules prior to applying a recipe via the installer.
install_verify_requirements function core/includes/install.core.inc Verifies the requirements for installing Drupal.
jsonapi_requirements function core/modules/jsonapi/jsonapi.install Implements hook_requirements().
KernelMissingDependentModuleMethodTest::publicCheckRequirements function core/tests/fixtures/KernelMissingDependentModuleMethodTest.php Public access for checkRequirements() to avoid reflection.
KernelMissingDependentModuleMethodTest::testRequiresModule function core/tests/fixtures/KernelMissingDependentModuleMethodTest.php This method should be skipped since it requires a module that is not found.
KernelMissingDependentModuleTest::publicCheckRequirements function core/tests/fixtures/KernelMissingDependentModuleTest.php Public access for checkRequirements() to avoid reflection.
KernelMissingDependentModuleTest::testRequiresModule function core/tests/fixtures/KernelMissingDependentModuleTest.php Placeholder test method.
KernelTestBaseTest::testMethodRequiresModule function core/tests/Drupal/KernelTests/KernelTestBaseTest.php Tests that a test method is skipped when it requires a module not present.
KernelTestBaseTest::testRequiresModule function core/tests/Drupal/KernelTests/KernelTestBaseTest.php Tests that a test case is skipped when it requires a module not present.
LangcodeRequiredIfTranslatableValuesConstraint class core/lib/Drupal/Core/Config/Plugin/Validation/Constraint/LangcodeRequiredIfTranslatableValuesConstraint.php
LangcodeRequiredIfTranslatableValuesConstraint.php file core/lib/Drupal/Core/Config/Plugin/Validation/Constraint/LangcodeRequiredIfTranslatableValuesConstraint.php
LangcodeRequiredIfTranslatableValuesConstraint::$missingMessage property core/lib/Drupal/Core/Config/Plugin/Validation/Constraint/LangcodeRequiredIfTranslatableValuesConstraint.php The error message if this config object is missing a `langcode`.
LangcodeRequiredIfTranslatableValuesConstraint::$superfluousMessage property core/lib/Drupal/Core/Config/Plugin/Validation/Constraint/LangcodeRequiredIfTranslatableValuesConstraint.php The error message if this config object contains a superfluous `langcode`.
LangcodeRequiredIfTranslatableValuesConstraintValidator class core/lib/Drupal/Core/Config/Plugin/Validation/Constraint/LangcodeRequiredIfTranslatableValuesConstraintValidator.php Validates the LangcodeRequiredIfTranslatableValues constraint.
LangcodeRequiredIfTranslatableValuesConstraintValidator.php file core/lib/Drupal/Core/Config/Plugin/Validation/Constraint/LangcodeRequiredIfTranslatableValuesConstraintValidator.php
LangcodeRequiredIfTranslatableValuesConstraintValidator::validate function core/lib/Drupal/Core/Config/Plugin/Validation/Constraint/LangcodeRequiredIfTranslatableValuesConstraintValidator.php
layout_discovery_requirements function core/modules/layout_discovery/layout_discovery.install Implements hook_requirements().
LocaleDefaultConfigStorage::$requiredInstallStorage property core/modules/locale/src/LocaleDefaultConfigStorage.php The storage instance for reading required default configuration data.
locale_requirements function core/modules/locale/locale.install Implements hook_requirements().
Mapping::getRequiredKeys function core/lib/Drupal/Core/Config/Schema/Mapping.php Gets all required keys in this mapping.
Mapping::processRequiredKeyFlags function core/lib/Drupal/Core/Config/Schema/Mapping.php Validates optional `requiredKey` flags, guarantees one will be set.
MappingTest::testInvalidRequiredKeyFlag function core/tests/Drupal/KernelTests/Config/Schema/MappingTest.php @testWith [true]
[1]
["true"]
[0]
["false"]
MediaLibraryState::validateRequiredParameters function core/modules/media_library/src/MediaLibraryState.php Validates the required parameters for a new MediaLibraryState object.
MediaLibraryWidget::validateRequired function core/modules/media_library/src/Plugin/Field/FieldWidget/MediaLibraryWidget.php Validates whether the widget is required and contains values.
MediaRequirementsTest class core/modules/media/tests/src/Functional/MediaRequirementsTest.php Tests the Media module's requirements checks.
MediaRequirementsTest.php file core/modules/media/tests/src/Functional/MediaRequirementsTest.php
MediaRequirementsTest::$defaultTheme property core/modules/media/tests/src/Functional/MediaRequirementsTest.php The theme to install as the default for testing.
MediaRequirementsTest::$usesSuperUserAccessPolicy property core/modules/media/tests/src/Functional/MediaRequirementsTest.php @todo Remove and fix test to not rely on super user.
MediaRequirementsTest::testMissingSourceFieldDefinition function core/modules/media/tests/src/Functional/MediaRequirementsTest.php Tests that the requirements check can handle a missing source field.
media_requirements function core/modules/media/media.install Implements hook_requirements().
MenuLinkContent::requiresRediscovery function core/modules/menu_link_content/src/Entity/MenuLinkContent.php Returns whether the menu link requires rediscovery.
MenuLinkContent::setRequiresRediscovery function core/modules/menu_link_content/src/Entity/MenuLinkContent.php Flags a link as requiring rediscovery.
MenuLinkContentInterface::requiresRediscovery function core/modules/menu_link_content/src/MenuLinkContentInterface.php Returns whether the menu link requires rediscovery.
MenuLinkContentInterface::setRequiresRediscovery function core/modules/menu_link_content/src/MenuLinkContentInterface.php Flags a link as requiring rediscovery.
MethodRequires class core/tests/Drupal/BuildTests/Framework/Tests/ExternalCommandRequirementTest.php
MethodRequires::externalCommandIsAvailable function core/tests/Drupal/BuildTests/Framework/Tests/ExternalCommandRequirementTest.php Determine if an external command is available.
MethodRequires::testRequiresAvailable function core/tests/Drupal/BuildTests/Framework/Tests/ExternalCommandRequirementTest.php @requires externalCommand available_command

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