Search for required

  1. Search 7.x for required
  2. Search 8.9.x for required
  3. Search 10.3.x for required
  4. Search 11.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 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
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.
ComplexDataConstraint::getRequiredOptions function core/lib/Drupal/Core/Validation/Plugin/Validation/Constraint/ComplexDataConstraint.php
ConfigImporterTest::testRequiredModuleValidation function core/tests/Drupal/KernelTests/Core/Config/ConfigImporterTest.php Tests uninstall validators being called during synchronization.
ContentEntityBase::$validationRequired property core/lib/Drupal/Core/Entity/ContentEntityBase.php Whether entity validation is required before saving the entity.
ContentEntityBase::isValidationRequired function core/lib/Drupal/Core/Entity/ContentEntityBase.php
ContentEntityBase::setValidationRequired function core/lib/Drupal/Core/Entity/ContentEntityBase.php
ContentEntityBaseUnitTest::testRequiredValidation function core/tests/Drupal/Tests/Core/Entity/ContentEntityBaseUnitTest.php Tests required validation.
ContextDefinition::$isRequired property core/lib/Drupal/Core/Plugin/Context/ContextDefinition.php Determines whether a data value is required.
ContextDefinition::isRequired function core/lib/Drupal/Core/Plugin/Context/ContextDefinition.php Determines whether the context is required.
ContextDefinition::setRequired function core/lib/Drupal/Core/Plugin/Context/ContextDefinition.php Sets whether the data is required.
ContextDefinitionInterface::isRequired function core/lib/Drupal/Component/Plugin/Context/ContextDefinitionInterface.php Determines whether the context is required.
ContextDefinitionInterface::setRequired function core/lib/Drupal/Component/Plugin/Context/ContextDefinitionInterface.php Sets whether the data is required.
ContextHandlerTest::testApplyContextMappingMissingNotRequired function core/tests/Drupal/Tests/Core/Plugin/ContextHandlerTest.php @covers ::applyContextMapping
ContextHandlerTest::testApplyContextMappingMissingRequired function core/tests/Drupal/Tests/Core/Plugin/ContextHandlerTest.php @covers ::applyContextMapping
ContextHandlerTest::testApplyContextMappingNoValueNonRequired function core/tests/Drupal/Tests/Core/Plugin/ContextHandlerTest.php @covers ::applyContextMapping
ContextHandlerTest::testApplyContextMappingNoValueRequired function core/tests/Drupal/Tests/Core/Plugin/ContextHandlerTest.php @covers ::applyContextMapping
CreateTestContentEntitiesTrait::getRequiredModules function core/modules/migrate_drupal/tests/src/Traits/CreateTestContentEntitiesTrait.php Gets required modules.

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