Search for required

  1. Search 7.x for required
  2. Search 9.5.x for required
  3. Search 8.9.x for required
  4. Search 10.3.x for required
  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 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/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
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
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).
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
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.
CommentNameConstraint::$messageRequired property core/modules/comment/src/Plugin/Validation/Constraint/CommentNameConstraint.php Message shown when an admin changes the comment-author to an invalid user.
CommentNonNodeTest::testCommentSettingsNotRequired function core/modules/comment/tests/src/Functional/CommentNonNodeTest.php Ensures that comment settings are not required.
ComplexDataConstraint::getRequiredOptions function core/lib/Drupal/Core/Validation/Plugin/Validation/Constraint/ComplexDataConstraint.php
ConfigEntityValidationTestBase::$propertiesWithRequiredKeys property core/tests/Drupal/KernelTests/Core/Config/ConfigEntityValidationTestBase.php The config entity mapping properties with >=1 required keys.
ConfigEntityValidationTestBase::getRequiredPropertyKeys function core/tests/Drupal/KernelTests/Core/Config/ConfigEntityValidationTestBase.php Determines the config entity mapping properties with required keys.
ConfigEntityValidationTestBase::testRequiredPropertyKeysMissing function core/tests/Drupal/KernelTests/Core/Config/ConfigEntityValidationTestBase.php A property that is required must have a value (i.e. not NULL).
ConfigEntityValidationTestBase::testRequiredPropertyValuesMissing function core/tests/Drupal/KernelTests/Core/Config/ConfigEntityValidationTestBase.php A property that is required must have a value (i.e. not NULL).
ConfigImporterTest::testRequiredModuleValidation function core/tests/Drupal/KernelTests/Core/Config/ConfigImporterTest.php Tests uninstall validators being called during synchronization.
ConfigSchemaTest::testLangcodeRequiredIfTranslatableValuesConstraintError function core/tests/Drupal/KernelTests/Core/Config/ConfigSchemaTest.php
container_rebuild_required_dependency_false.info.yml file core/modules/system/tests/modules/container_rebuild_required_dependency_false/container_rebuild_required_dependency_false.info.yml core/modules/system/tests/modules/container_rebuild_required_dependency_false/container_rebuild_required_dependency_false.info.yml
container_rebuild_required_false.info.yml file core/modules/system/tests/modules/container_rebuild_required_false/container_rebuild_required_false.info.yml core/modules/system/tests/modules/container_rebuild_required_false/container_rebuild_required_false.info.yml
container_rebuild_required_false_2.info.yml file core/modules/system/tests/modules/container_rebuild_required_false_2/container_rebuild_required_false_2.info.yml core/modules/system/tests/modules/container_rebuild_required_false_2/container_rebuild_required_false_2.info.yml
container_rebuild_required_true.info.yml file core/modules/system/tests/modules/container_rebuild_required_true/container_rebuild_required_true.info.yml core/modules/system/tests/modules/container_rebuild_required_true/container_rebuild_required_true.info.yml
container_rebuild_required_true_2.info.yml file core/modules/system/tests/modules/container_rebuild_required_true_2/container_rebuild_required_true_2.info.yml core/modules/system/tests/modules/container_rebuild_required_true_2/container_rebuild_required_true_2.info.yml

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