Skip to main content
Drupal API
User account menu
  • Log in

Breadcrumb

  1. Drupal Core 11.1.x
  2. Required.php

class Required

Same name in this branch
  1. 11.1.x vendor/symfony/service-contracts/Attribute/Required.php \Symfony\Contracts\Service\Attribute\Required
  2. 11.1.x vendor/symfony/validator/Constraints/Required.php \Symfony\Component\Validator\Constraints\Required

Annotation that can be used to signal to the parser to check if that attribute is required during the parsing process.

@Annotation

Hierarchy

  • class \Doctrine\Common\Annotations\Annotation\Required

Expanded class hierarchy of Required

21 string references to 'Required'
BooleanOperator::valueValidate in core/modules/views/src/Plugin/views/filter/BooleanOperator.php
Validate the options form.
CommentItem::fieldSettingsForm in core/modules/comment/src/Plugin/Field/FieldType/CommentItem.php
Returns a form for the field-level settings.
CompositeFormElementTrait::preRenderCompositeFormElement in core/lib/Drupal/Core/Render/Element/CompositeFormElementTrait.php
Adds form element theming to an element if its title or description is set.
d6_field_instance.yml in core/modules/field/migrations/d6_field_instance.yml
core/modules/field/migrations/d6_field_instance.yml
d6_vocabulary_field_instance.yml in core/modules/taxonomy/migrations/d6_vocabulary_field_instance.yml
core/modules/taxonomy/migrations/d6_vocabulary_field_instance.yml

... See full list

File

vendor/doctrine/annotations/lib/Doctrine/Common/Annotations/Annotation/Required.php, line 11

Namespace

Doctrine\Common\Annotations\Annotation
View source
final class Required {

}
RSS feed
Powered by Drupal