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
SitesDirectoryHardeningTest::checkSystemRequirements function core/modules/system/tests/src/Functional/System/SitesDirectoryHardeningTest.php Checks system runtime requirements.
SkipRequiredModulesTest class core/modules/simpletest/src/Tests/SkipRequiredModulesTest.php Tests if Simpletest-based tests are skipped based on module requirements.
SkipRequiredModulesTest.php file core/modules/simpletest/src/Tests/SkipRequiredModulesTest.php
SkipRequiredModulesTest::testModuleNotFound function core/modules/simpletest/src/Tests/SkipRequiredModulesTest.php
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 @covers ::requiresEntityDataMigration
SqlContentEntityStorageSchemaTest::testRequiresEntityStorageSchemaChanges function core/tests/Drupal/Tests/Core/Entity/Sql/SqlContentEntityStorageSchemaTest.php @covers ::requiresEntityStorageSchemaChanges
StateFileExists::$stateFileRequired property core/modules/migrate_drupal/tests/src/Kernel/StateFileExists.php Modules that should have a migrate_drupal.yml file.
StatusReport::preRenderGroupRequirements function core/lib/Drupal/Core/Render/Element/StatusReport.php #pre_render callback to group requirements.
StatusReportPage::preRenderRequirements function core/modules/system/src/Element/StatusReportPage.php #pre_render callback to create status report requirements.
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.
SystemRequirements class core/modules/system/src/SystemRequirements.php Class for helper methods used for the system requirements.
SystemRequirements.php file core/modules/system/src/SystemRequirements.php
SystemRequirements::phpVersionWithPdoDisallowMultipleStatements function core/modules/system/src/SystemRequirements.php Determines whether the passed in PHP version disallows multiple statements.
SystemRequirementsTest class core/modules/system/tests/src/Unit/SystemRequirementsTest.php @coversDefaultClass \Drupal\system\SystemRequirements
@group system
@group legacy
SystemRequirementsTest.php file core/modules/system/tests/src/Unit/SystemRequirementsTest.php
SystemRequirementsTest::providerTestPhpVersionWithPdoDisallowMultipleStatements function core/modules/system/tests/src/Unit/SystemRequirementsTest.php
SystemRequirementsTest::testPhpVersionWithPdoDisallowMultipleStatements function core/modules/system/tests/src/Unit/SystemRequirementsTest.php @covers ::phpVersionWithPdoDisallowMultipleStatements
@dataProvider providerTestPhpVersionWithPdoDisallowMultipleStatements
@expectedDeprecation Drupal\system\SystemRequirements::phpVersionWithPdoDisallowMultipleStatements() is deprecated in Drupal…
system_requirements function core/modules/system/system.install Implements hook_requirements().
TaggedHandlersPassTest::testIdCollectorProcessRequiredHandlers function core/tests/Drupal/Tests/Core/DependencyInjection/Compiler/TaggedHandlersPassTest.php Tests a required consumer with no handlers.
TaggedHandlersPassTest::testProcessRequiredHandlers function core/tests/Drupal/Tests/Core/DependencyInjection/Compiler/TaggedHandlersPassTest.php Tests a required consumer with no handlers.
Tasks::engineVersionRequirementsCheck function core/lib/Drupal/Core/Database/Install/Tasks.php Checks engine version requirements for the status report.
TaxonomyTermUpdatePathTest::testMissingDataUpdateRequirementsCheck function core/modules/taxonomy/tests/src/Functional/Update/TaxonomyTermUpdatePathTest.php Test the update hook requirements check for revisionable terms.
taxonomy_requirements function core/modules/taxonomy/taxonomy.install Implements hook_requirements().
TestBase::checkRequirements function core/modules/simpletest/src/TestBase.php Checks the matching requirements for Test.
TestBaseTest::testCheckRequirements function core/modules/simpletest/tests/src/Unit/TestBaseTest.php @covers ::checkRequirements
TestFieldConstraint::getRequiredOptions function core/modules/field/tests/modules/field_test/src/Plugin/Validation/Constraint/TestFieldConstraint.php
testing_requirements.info.yml file core/profiles/testing_requirements/testing_requirements.info.yml core/profiles/testing_requirements/testing_requirements.info.yml
testing_requirements.install file core/profiles/testing_requirements/testing_requirements.install Install hooks for test profile.
testing_requirements_requirements function core/profiles/testing_requirements/testing_requirements.install Implements hook_requirements().
TestMigration::setRequirements function core/modules/migrate/tests/src/Unit/MigrationTest.php Sets the requirements values.
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::checkModuleRequirements function core/tests/Drupal/Tests/TestRequirementsTrait.php Checks missing module requirements.
TestRequirementsTrait::checkRequirements function core/tests/Drupal/Tests/TestRequirementsTrait.php Check module requirements for the Drupal use case.
TestRequirementsTrait::getDrupalRoot function core/tests/Drupal/Tests/TestRequirementsTrait.php Returns the Drupal root directory.

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