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. Other projects
Title Object type File name Summary
AddItemToToolbarConfigActionTest::testActionRequiresCKEditor5 function core/modules/ckeditor5/tests/src/Kernel/ConfigAction/AddItemToToolbarConfigActionTest.php Tests that the `addItemToToolbar` config action requires CKEditor 5.
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.
BaseRequirementsFulfilledValidator class core/modules/package_manager/src/Validator/BaseRequirementsFulfilledValidator.php Validates that base requirements do not have any errors.
BaseRequirementsFulfilledValidator.php file core/modules/package_manager/src/Validator/BaseRequirementsFulfilledValidator.php
BaseRequirementsFulfilledValidator::getSubscribedEvents function core/modules/package_manager/src/Validator/BaseRequirementsFulfilledValidator.php
BaseRequirementsFulfilledValidator::PRIORITY constant core/modules/package_manager/src/Validator/BaseRequirementsFulfilledValidator.php The priority of this validator.
BaseRequirementsFulfilledValidator::validate function core/modules/package_manager/src/Validator/BaseRequirementsFulfilledValidator.php Validates that base requirements are fulfilled.
BaseRequirementsFulfilledValidatorTest class core/modules/package_manager/tests/src/Kernel/BaseRequirementsFulfilledValidatorTest.php @covers \Drupal\package_manager\Validator\BaseRequirementsFulfilledValidator
@covers \Drupal\package_manager\Validator\BaseRequirementValidatorTrait
BaseRequirementsFulfilledValidatorTest.php file core/modules/package_manager/tests/src/Kernel/BaseRequirementsFulfilledValidatorTest.php
BaseRequirementsFulfilledValidatorTest::$eventClass property core/modules/package_manager/tests/src/Kernel/BaseRequirementsFulfilledValidatorTest.php The event class to throw to an error for.
BaseRequirementsFulfilledValidatorTest::providerBaseRequirement function core/modules/package_manager/tests/src/Kernel/BaseRequirementsFulfilledValidatorTest.php Data provider for ::testBaseRequirement().
BaseRequirementsFulfilledValidatorTest::setUp function core/modules/package_manager/tests/src/Kernel/BaseRequirementsFulfilledValidatorTest.php
BaseRequirementsFulfilledValidatorTest::testBaseRequirement function core/modules/package_manager/tests/src/Kernel/BaseRequirementsFulfilledValidatorTest.php Tests that base requirement failures stop event propagation.
BaseRequirementsFulfilledValidatorTest::validate function core/modules/package_manager/tests/src/Kernel/BaseRequirementsFulfilledValidatorTest.php Validates base requirements.
BaseRequirementValidatorTrait trait core/modules/package_manager/src/Validator/BaseRequirementValidatorTrait.php Provides methods for base requirement validators.
BaseRequirementValidatorTrait.php file core/modules/package_manager/src/Validator/BaseRequirementValidatorTrait.php
BaseRequirementValidatorTrait::getSubscribedEvents function core/modules/package_manager/src/Validator/BaseRequirementValidatorTrait.php Implements EventSubscriberInterface::getSubscribedEvents().
BaseRequirementValidatorTrait::validate function core/modules/package_manager/src/Validator/BaseRequirementValidatorTrait.php Validates base requirements.
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 install.
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
block.block.testing_theme_required_blocks_account_menu.yml file core/profiles/tests/testing_themes_blocks/themes/testing_theme_required_blocks/config/install/block.block.testing_theme_required_blocks_account_menu.yml core/profiles/tests/testing_themes_blocks/themes/testing_theme_required_blocks/config/install/block.block.testing_theme_required_blocks_account_menu.yml
BlockValidationTest::$propertiesWithRequiredKeys property core/modules/block/tests/src/Kernel/BlockValidationTest.php The config entity mapping properties with >=1 required keys.
BlockValidationTest::testRequiredPropertyValuesMissing function core/modules/block/tests/src/Kernel/BlockValidationTest.php A property that is required must have a value (i.e. not NULL).
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.
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

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