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 main for require
  6. Other projects
Title Object type File name Summary
RequiresComposerTrait trait core/tests/Drupal/TestTools/Extension/RequiresComposerTrait.php Ensures Composer executable is available, skips test otherwise.
RequiresComposerTrait.php file core/tests/Drupal/TestTools/Extension/RequiresComposerTrait.php
RequiresComposerTrait::requiresComposer function core/tests/Drupal/TestTools/Extension/RequiresComposerTrait.php #[BeforeClass]
ResourceBase::getBaseRouteRequirements function core/modules/rest/src/Plugin/ResourceBase.php Gets the base route requirements for a particular method.
ResourceIdentifier::toResourceIdentifiersWithArityRequired function core/modules/jsonapi/src/JsonApiResource/ResourceIdentifier.php Creates an array of ResourceIdentifier objects with arity on every value.
ResourceResponseSubscriberTest::generateRouteRequirements function core/modules/rest/tests/src/Unit/EventSubscriber/ResourceResponseSubscriberTest.php Generates route requirements based on supported formats.
RouteProcessorCsrfTest::testProcessOutboundNoRequirement function core/tests/Drupal/Tests/Core/Access/RouteProcessorCsrfTest.php Tests the processOutbound() method with no _csrf_token route requirement.
RunTimeRequirementsTest class core/modules/system/tests/src/Kernel/System/RunTimeRequirementsTest.php Tests the effectiveness of hook_runtime_requirements().
RunTimeRequirementsTest.php file core/modules/system/tests/src/Kernel/System/RunTimeRequirementsTest.php
RunTimeRequirementsTest::$modules property core/modules/system/tests/src/Kernel/System/RunTimeRequirementsTest.php Modules to install.
RunTimeRequirementsTest::testRuntimeRequirements function core/modules/system/tests/src/Kernel/System/RunTimeRequirementsTest.php Tests hook_runtime_requirements() and hook_runtime_requirements_alter().
SandboxManagerBase::require function core/modules/package_manager/src/SandboxManagerBase.php Adds or updates packages in the sandbox directory.
SandboxManagerBase::validateRequirements function core/modules/package_manager/src/SandboxManagerBase.php Validates a set of package names.
SandboxManagerBaseTest::providerValidateRequirements function core/modules/package_manager/tests/src/Unit/SandboxManagerBaseTest.php Data provider for testValidateRequirements.
SandboxManagerBaseTest::testValidateRequirements function core/modules/package_manager/tests/src/Unit/SandboxManagerBaseTest.php Tests validate requirements.
SaveUploadTest::testRequired function core/modules/file/tests/src/Functional/SaveUploadTest.php Tests the file_save_upload() function when the field is required.
SchemaCompatibilityChecker::checkRequired function core/lib/Drupal/Core/Theme/Component/SchemaCompatibilityChecker.php Checks that the required properties are compatible.
SearchRequirements class core/modules/search/src/Hook/SearchRequirements.php Requirements for the Search module.
SearchRequirements.php file core/modules/search/src/Hook/SearchRequirements.php
SearchRequirements::runtime function core/modules/search/src/Hook/SearchRequirements.php Implements hook_runtime_requirements().
SearchRequirements::__construct function core/modules/search/src/Hook/SearchRequirements.php
ShapeItemRequired class core/modules/system/tests/modules/entity_test/src/Plugin/Field/FieldType/ShapeItemRequired.php Defines the 'shape_required' field type.
ShapeItemRequired.php file core/modules/system/tests/modules/entity_test/src/Plugin/Field/FieldType/ShapeItemRequired.php
ShapeItemRequired::propertyDefinitions function core/modules/system/tests/modules/entity_test/src/Plugin/Field/FieldType/ShapeItemRequired.php Defines field item properties.
SitesDirectoryHardeningTest::checkSystemRequirements function core/modules/system/tests/src/Functional/System/SitesDirectoryHardeningTest.php Checks system runtime requirements.
SqlBase::checkRequirements function core/modules/migrate/src/Plugin/migrate/source/SqlBase.php Checks if requirements for this plugin are OK.
SqlContentEntityStorage::requiresEntityDataMigration function core/lib/Drupal/Core/Entity/Sql/SqlContentEntityStorage.php Checks if existing data would be lost if the schema changes were applied.
SqlContentEntityStorage::requiresEntityStorageSchemaChanges function core/lib/Drupal/Core/Entity/Sql/SqlContentEntityStorage.php Checks if the changes to the entity type requires storage schema changes.
SqlContentEntityStorage::requiresFieldDataMigration function core/lib/Drupal/Core/Entity/Sql/SqlContentEntityStorage.php Checks if existing data would be lost if the schema changes were applied.
SqlContentEntityStorage::requiresFieldStorageSchemaChanges function core/lib/Drupal/Core/Entity/Sql/SqlContentEntityStorage.php Checks if the changes to the storage definition requires schema changes.
SqlContentEntityStorageSchema::requiresEntityDataMigration function core/lib/Drupal/Core/Entity/Sql/SqlContentEntityStorageSchema.php Checks if existing data would be lost if the schema changes were applied.
SqlContentEntityStorageSchema::requiresEntityStorageSchemaChanges function core/lib/Drupal/Core/Entity/Sql/SqlContentEntityStorageSchema.php Checks if the changes to the entity type requires storage schema changes.
SqlContentEntityStorageSchema::requiresFieldDataMigration function core/lib/Drupal/Core/Entity/Sql/SqlContentEntityStorageSchema.php Checks if existing data would be lost if the schema changes were applied.
SqlContentEntityStorageSchema::requiresFieldStorageSchemaChanges function core/lib/Drupal/Core/Entity/Sql/SqlContentEntityStorageSchema.php Checks if the changes to the storage definition requires schema changes.
SqlContentEntityStorageSchemaTest::providerTestRequiresEntityDataMigration function core/tests/Drupal/Tests/Core/Entity/Sql/SqlContentEntityStorageSchemaTest.php
SqlContentEntityStorageSchemaTest::providerTestRequiresEntityStorageSchemaChanges function core/tests/Drupal/Tests/Core/Entity/Sql/SqlContentEntityStorageSchemaTest.php Data provider for ::testRequiresEntityStorageSchemaChanges().
SqlContentEntityStorageSchemaTest::testRequiresEntityDataMigration function core/tests/Drupal/Tests/Core/Entity/Sql/SqlContentEntityStorageSchemaTest.php Tests requires entity data migration.
SqlContentEntityStorageSchemaTest::testRequiresEntityStorageSchemaChanges function core/tests/Drupal/Tests/Core/Entity/Sql/SqlContentEntityStorageSchemaTest.php Tests requires entity storage schema changes.
StageEventsTest::testPackageListsAvailableToRequireEvents function core/modules/package_manager/tests/src/Kernel/StageEventsTest.php Tests that pre- and post-require events have access to the package lists.
StandardRecipeInstallTest::setUpRequirementsProblem function core/tests/Drupal/FunctionalTests/Core/Recipe/StandardRecipeInstallTest.php Installer step: Requirements problem.
StateFileExistsTest::$stateFileRequired property core/modules/migrate_drupal/tests/src/Kernel/StateFileExistsTest.php Modules that should have a migrate_drupal.yml file.
StatusReport::preRenderGroupRequirements function core/lib/Drupal/Core/Render/Element/StatusReport.php Render API callback: Groups requirements.
StatusReportPage::preRenderRequirements function core/modules/system/src/Element/StatusReportPage.php Render API callback: Create status report requirements.
StatusReportTest::testPreRenderGroupRequirements function core/tests/Drupal/KernelTests/Core/Render/Element/StatusReportTest.php Tests the status report element.
StringEqualsConcatenatedValuesConstraint::getRequiredOptions function core/lib/Drupal/Core/Validation/Plugin/Validation/Constraint/StringEqualsConcatenatedValuesConstraint.php
SystemManager::checkRequirements function core/modules/system/src/SystemManager.php Checks for requirement severity.
SystemManager::listRequirements function core/modules/system/src/SystemManager.php Displays the site status report. Can also be used as a pure check.
SystemManager::REQUIREMENT_ERROR constant core/modules/system/src/SystemManager.php Requirement severity -- Error condition; abort installation.
SystemManager::REQUIREMENT_OK constant core/modules/system/src/SystemManager.php Requirement severity -- Requirement successfully met.
SystemManager::REQUIREMENT_WARNING constant core/modules/system/src/SystemManager.php Requirement severity -- Warning condition; proceed but flag warning.

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