Search for require

  1. Search 7.x for require
  2. Search 8.9.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
AnnotationWithRequiredAttributes class core/tests/Drupal/Tests/Component/Annotation/Doctrine/Fixtures/AnnotationWithRequiredAttributes.php Plugin annotation

@Target("ALL")
@Attributes({
@Attribute("value", required = true , type = "string"),
@Attribute("annot", required = true , type =…
AnnotationWithRequiredAttributes.php file core/tests/Drupal/Tests/Component/Annotation/Doctrine/Fixtures/AnnotationWithRequiredAttributes.php
AnnotationWithRequiredAttributes::$annot property core/tests/Drupal/Tests/Component/Annotation/Doctrine/Fixtures/AnnotationWithRequiredAttributes.php
AnnotationWithRequiredAttributes::$value property core/tests/Drupal/Tests/Component/Annotation/Doctrine/Fixtures/AnnotationWithRequiredAttributes.php
AnnotationWithRequiredAttributes::getAnnot function core/tests/Drupal/Tests/Component/Annotation/Doctrine/Fixtures/AnnotationWithRequiredAttributes.php
AnnotationWithRequiredAttributes::getValue function core/tests/Drupal/Tests/Component/Annotation/Doctrine/Fixtures/AnnotationWithRequiredAttributes.php
AnnotationWithRequiredAttributes::__construct function core/tests/Drupal/Tests/Component/Annotation/Doctrine/Fixtures/AnnotationWithRequiredAttributes.php
AnnotationWithRequiredAttributesWithoutContructor class core/tests/Drupal/Tests/Component/Annotation/Doctrine/Fixtures/AnnotationWithRequiredAttributesWithoutContructor.php Plugin annotation
@Target("ALL");
AnnotationWithRequiredAttributesWithoutContructor.php file core/tests/Drupal/Tests/Component/Annotation/Doctrine/Fixtures/AnnotationWithRequiredAttributesWithoutContructor.php
AnnotationWithRequiredAttributesWithoutContructor::$annot property core/tests/Drupal/Tests/Component/Annotation/Doctrine/Fixtures/AnnotationWithRequiredAttributesWithoutContructor.php @Required
AnnotationWithRequiredAttributesWithoutContructor::$value property core/tests/Drupal/Tests/Component/Annotation/Doctrine/Fixtures/AnnotationWithRequiredAttributesWithoutContructor.php @Required
BaseFieldDefinition::isStorageRequired function core/lib/Drupal/Core/Field/BaseFieldDefinition.php Returns whether the field storage is required.
BaseFieldDefinition::setStorageRequired function core/lib/Drupal/Core/Field/BaseFieldDefinition.php Sets whether the field storage is required.
BaseFieldDefinitionTest::testFieldRequired function core/tests/Drupal/Tests/Core/Entity/BaseFieldDefinitionTest.php Tests required.
BaseFieldDefinitionTest::testFieldStorageRequired function core/tests/Drupal/Tests/Core/Entity/BaseFieldDefinitionTest.php Tests storage required.
BaseThemeRequiredTest class core/tests/Drupal/KernelTests/Core/Theme/BaseThemeRequiredTest.php Tests the behavior of the `base theme` key.
BaseThemeRequiredTest.php file core/tests/Drupal/KernelTests/Core/Theme/BaseThemeRequiredTest.php
BaseThemeRequiredTest::$modules property core/tests/Drupal/KernelTests/Core/Theme/BaseThemeRequiredTest.php Modules to enable.
BaseThemeRequiredTest::$themeInstaller property core/tests/Drupal/KernelTests/Core/Theme/BaseThemeRequiredTest.php The theme installer.
BaseThemeRequiredTest::$themeManager property core/tests/Drupal/KernelTests/Core/Theme/BaseThemeRequiredTest.php The theme manager.
BaseThemeRequiredTest::setUp function core/tests/Drupal/KernelTests/Core/Theme/BaseThemeRequiredTest.php
BaseThemeRequiredTest::testWildWest function core/tests/Drupal/KernelTests/Core/Theme/BaseThemeRequiredTest.php Tests opting out of Stable 9 by setting the base theme to false.
block.block.testing_theme_required_blocks_account_menu.yml file core/profiles/testing_themes_blocks/themes/testing_theme_required_blocks/config/install/block.block.testing_theme_required_blocks_account_menu.yml core/profiles/testing_themes_blocks/themes/testing_theme_required_blocks/config/install/block.block.testing_theme_required_blocks_account_menu.yml
BrowserMissingDependentModuleMethodTest::publicCheckRequirements function core/tests/fixtures/BrowserMissingDependentModuleMethodTest.php Public access for checkRequirements() to avoid reflection.
BrowserMissingDependentModuleMethodTest::testRequiresModule function core/tests/fixtures/BrowserMissingDependentModuleMethodTest.php This method should be skipped since it requires a module that is not found.
BrowserMissingDependentModuleTest::publicCheckRequirements function core/tests/fixtures/BrowserMissingDependentModuleTest.php Public access for checkRequirements() to avoid reflection.
BrowserMissingDependentModuleTest::testRequiresModule function core/tests/fixtures/BrowserMissingDependentModuleTest.php Placeholder test method.
BrowserTestBaseTest::testMethodRequiresModule function core/tests/Drupal/KernelTests/Core/Test/BrowserTestBaseTest.php Tests that a test method is skipped when it requires a module not present.
BrowserTestBaseTest::testRequiresModule function core/tests/Drupal/KernelTests/Core/Test/BrowserTestBaseTest.php Tests that a test case is skipped when it requires a module not present.
BundleConstraint::getRequiredOptions function core/lib/Drupal/Core/Entity/Plugin/Validation/Constraint/BundleConstraint.php
CacheableLengthRequiredHttpException class core/lib/Drupal/Core/Http/Exception/CacheableLengthRequiredHttpException.php A cacheable LengthRequiredHttpException.
CacheableLengthRequiredHttpException.php file core/lib/Drupal/Core/Http/Exception/CacheableLengthRequiredHttpException.php
CacheableLengthRequiredHttpException::__construct function core/lib/Drupal/Core/Http/Exception/CacheableLengthRequiredHttpException.php
CacheablePreconditionRequiredHttpException class core/lib/Drupal/Core/Http/Exception/CacheablePreconditionRequiredHttpException.php A cacheable PreconditionRequiredHttpException.
CacheablePreconditionRequiredHttpException.php file core/lib/Drupal/Core/Http/Exception/CacheablePreconditionRequiredHttpException.php
CacheablePreconditionRequiredHttpException::__construct function core/lib/Drupal/Core/Http/Exception/CacheablePreconditionRequiredHttpException.php
CheckProvider::$dynamicRequirementMap property core/lib/Drupal/Core/Access/CheckProvider.php An array to map dynamic requirement keys to service IDs.
CheckProvider::$staticRequirementMap property core/lib/Drupal/Core/Access/CheckProvider.php An array to map static requirement keys to service IDs.
CheckProvider::loadDynamicRequirementMap function core/lib/Drupal/Core/Access/CheckProvider.php Compiles a mapping of requirement keys to access checker service IDs.
CheckRequirementsTest class core/modules/migrate/tests/src/Unit/Plugin/migrate/destination/CheckRequirementsTest.php Tests check requirements exception on DestinationBase.
CheckRequirementsTest.php file core/modules/migrate/tests/src/Unit/Plugin/migrate/destination/CheckRequirementsTest.php
CheckRequirementsTest::testException function core/modules/migrate/tests/src/Unit/Plugin/migrate/destination/CheckRequirementsTest.php Tests the check requirements exception message.
CKEditor5ElementConstraint::$missingRequiredAttributeMessage property core/modules/ckeditor5/src/Plugin/Validation/Constraint/CKEditor5ElementConstraint.php Violation message when a required attribute is missing.
CKEditor5ElementConstraint::$requiredAttributeMinValuesMessage property core/modules/ckeditor5/src/Plugin/Validation/Constraint/CKEditor5ElementConstraint.php Violation message when a required attribute does not allow enough values.
CKEditor5ElementConstraint::$requiredAttributes property core/modules/ckeditor5/src/Plugin/Validation/Constraint/CKEditor5ElementConstraint.php Validation constraint option to impose attributes to be specified.
ClassRequiresAvailable class core/tests/Drupal/BuildTests/Framework/Tests/ExternalCommandRequirementTest.php @requires externalCommand available_command
ClassRequiresAvailable::externalCommandIsAvailable function core/tests/Drupal/BuildTests/Framework/Tests/ExternalCommandRequirementTest.php Determine if an external command is available.
ClassRequiresUnavailable class core/tests/Drupal/BuildTests/Framework/Tests/ExternalCommandRequirementTest.php @requires externalCommand unavailable_command
CollectRoutesTest::testRoutesRequirements function core/modules/rest/tests/src/Unit/CollectRoutesTest.php Tests if adding a requirement to a route only modify one route.
color_requirements function core/modules/color/color.install Implements hook_requirements().

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