| AllowedValuesConstraint |
class |
core/lib/Drupal/Core/Validation/Plugin/Validation/Constraint/AllowedValuesConstraint.php |
Checks for the value being allowed. |
| AllowedValuesConstraint.php |
file |
core/lib/Drupal/Core/Validation/Plugin/Validation/Constraint/AllowedValuesConstraint.php |
|
| AllowedValuesConstraint::$maxMessage |
property |
core/lib/Drupal/Core/Validation/Plugin/Validation/Constraint/AllowedValuesConstraint.php |
|
| AllowedValuesConstraint::$minMessage |
property |
core/lib/Drupal/Core/Validation/Plugin/Validation/Constraint/AllowedValuesConstraint.php |
|
| AllowedValuesConstraint::$strict |
property |
core/lib/Drupal/Core/Validation/Plugin/Validation/Constraint/AllowedValuesConstraint.php |
|
| AllowedValuesConstraintValidator |
class |
core/lib/Drupal/Core/Validation/Plugin/Validation/Constraint/AllowedValuesConstraintValidator.php |
Validates the AllowedValues constraint. |
| AllowedValuesConstraintValidator.php |
file |
core/lib/Drupal/Core/Validation/Plugin/Validation/Constraint/AllowedValuesConstraintValidator.php |
|
| AllowedValuesConstraintValidator::$currentUser |
property |
core/lib/Drupal/Core/Validation/Plugin/Validation/Constraint/AllowedValuesConstraintValidator.php |
The current user. |
| AllowedValuesConstraintValidator::create |
function |
core/lib/Drupal/Core/Validation/Plugin/Validation/Constraint/AllowedValuesConstraintValidator.php |
Instantiates a new instance of this class. |
| AllowedValuesConstraintValidator::validate |
function |
core/lib/Drupal/Core/Validation/Plugin/Validation/Constraint/AllowedValuesConstraintValidator.php |
|
| AllowedValuesConstraintValidator::__construct |
function |
core/lib/Drupal/Core/Validation/Plugin/Validation/Constraint/AllowedValuesConstraintValidator.php |
Constructs a new AllowedValuesConstraintValidator. |
| AllowedValuesConstraintValidatorTest |
class |
core/tests/Drupal/KernelTests/Core/TypedData/AllowedValuesConstraintValidatorTest.php |
Tests AllowedValues validation constraint with both valid and invalid values. |
| AllowedValuesConstraintValidatorTest.php |
file |
core/tests/Drupal/KernelTests/Core/TypedData/AllowedValuesConstraintValidatorTest.php |
|
| AllowedValuesConstraintValidatorTest::$typedData |
property |
core/tests/Drupal/KernelTests/Core/TypedData/AllowedValuesConstraintValidatorTest.php |
The typed data manager to use. |
| AllowedValuesConstraintValidatorTest::allowedValueCallback |
function |
core/tests/Drupal/KernelTests/Core/TypedData/AllowedValuesConstraintValidatorTest.php |
An AllowedValueConstraint callback. |
| AllowedValuesConstraintValidatorTest::setUp |
function |
core/tests/Drupal/KernelTests/Core/TypedData/AllowedValuesConstraintValidatorTest.php |
|
| AllowedValuesConstraintValidatorTest::testValidation |
function |
core/tests/Drupal/KernelTests/Core/TypedData/AllowedValuesConstraintValidatorTest.php |
Tests the AllowedValues validation constraint validator. |
| AllowedValuesConstraintValidatorTest::testValidationCallback |
function |
core/tests/Drupal/KernelTests/Core/TypedData/AllowedValuesConstraintValidatorTest.php |
Tests the AllowedValuesConstraintValidator with callbacks. |
| AllowedValuesConstraintValidatorTest::testValidationCallbackException |
function |
core/tests/Drupal/KernelTests/Core/TypedData/AllowedValuesConstraintValidatorTest.php |
Tests the AllowedValuesConstraintValidator with an invalid callback. |
| BaseFieldDefinition::addPropertyConstraints |
function |
core/lib/Drupal/Core/Field/BaseFieldDefinition.php |
Adds constraints for a given field item property. |
| BaseFieldDefinition::setPropertyConstraints |
function |
core/lib/Drupal/Core/Field/BaseFieldDefinition.php |
Sets constraints for a given field item property. |
| BookOutlineConstraint |
class |
core/modules/book/src/Plugin/Validation/Constraint/BookOutlineConstraint.php |
Validation constraint for changing the book outline in pending revisions. |
| BookOutlineConstraint.php |
file |
core/modules/book/src/Plugin/Validation/Constraint/BookOutlineConstraint.php |
|
| BookOutlineConstraint::$message |
property |
core/modules/book/src/Plugin/Validation/Constraint/BookOutlineConstraint.php |
|
| BookOutlineConstraintValidator |
class |
core/modules/book/src/Plugin/Validation/Constraint/BookOutlineConstraintValidator.php |
Constraint validator for changing the book outline in pending revisions. |
| BookOutlineConstraintValidator.php |
file |
core/modules/book/src/Plugin/Validation/Constraint/BookOutlineConstraintValidator.php |
|
| BookOutlineConstraintValidator::$bookManager |
property |
core/modules/book/src/Plugin/Validation/Constraint/BookOutlineConstraintValidator.php |
The book manager. |
| BookOutlineConstraintValidator::create |
function |
core/modules/book/src/Plugin/Validation/Constraint/BookOutlineConstraintValidator.php |
Instantiates a new instance of this class. |
| BookOutlineConstraintValidator::validate |
function |
core/modules/book/src/Plugin/Validation/Constraint/BookOutlineConstraintValidator.php |
|
| BookOutlineConstraintValidator::__construct |
function |
core/modules/book/src/Plugin/Validation/Constraint/BookOutlineConstraintValidator.php |
Creates a new BookOutlineConstraintValidator instance. |
| BundleConstraint |
class |
core/lib/Drupal/Core/Entity/Plugin/Validation/Constraint/BundleConstraint.php |
Checks if a value is a valid entity type. |
| BundleConstraint.php |
file |
core/lib/Drupal/Core/Entity/Plugin/Validation/Constraint/BundleConstraint.php |
|
| BundleConstraint::$bundle |
property |
core/lib/Drupal/Core/Entity/Plugin/Validation/Constraint/BundleConstraint.php |
The bundle option. |
| BundleConstraint::$message |
property |
core/lib/Drupal/Core/Entity/Plugin/Validation/Constraint/BundleConstraint.php |
The default violation message. |
| BundleConstraint::getBundleOption |
function |
core/lib/Drupal/Core/Entity/Plugin/Validation/Constraint/BundleConstraint.php |
Gets the bundle option as array. |
| BundleConstraint::getDefaultOption |
function |
core/lib/Drupal/Core/Entity/Plugin/Validation/Constraint/BundleConstraint.php |
|
| BundleConstraint::getRequiredOptions |
function |
core/lib/Drupal/Core/Entity/Plugin/Validation/Constraint/BundleConstraint.php |
|
| BundleConstraintValidator |
class |
core/lib/Drupal/Core/Entity/Plugin/Validation/Constraint/BundleConstraintValidator.php |
Validates the Bundle constraint. |
| BundleConstraintValidator.php |
file |
core/lib/Drupal/Core/Entity/Plugin/Validation/Constraint/BundleConstraintValidator.php |
|
| BundleConstraintValidator::validate |
function |
core/lib/Drupal/Core/Entity/Plugin/Validation/Constraint/BundleConstraintValidator.php |
|
| BundleConstraintValidatorTest |
class |
core/tests/Drupal/KernelTests/Core/Entity/BundleConstraintValidatorTest.php |
Tests validation constraints for BundleConstraintValidator. |
| BundleConstraintValidatorTest.php |
file |
core/tests/Drupal/KernelTests/Core/Entity/BundleConstraintValidatorTest.php |
|
| BundleConstraintValidatorTest::$modules |
property |
core/tests/Drupal/KernelTests/Core/Entity/BundleConstraintValidatorTest.php |
Modules to enable. |
| BundleConstraintValidatorTest::$typedData |
property |
core/tests/Drupal/KernelTests/Core/Entity/BundleConstraintValidatorTest.php |
The typed data manager to use. |
| BundleConstraintValidatorTest::assertValidation |
function |
core/tests/Drupal/KernelTests/Core/Entity/BundleConstraintValidatorTest.php |
Executes the BundleConstraintValidator test for a given bundle. |
| BundleConstraintValidatorTest::setUp |
function |
core/tests/Drupal/KernelTests/Core/Entity/BundleConstraintValidatorTest.php |
|
| BundleConstraintValidatorTest::testValidation |
function |
core/tests/Drupal/KernelTests/Core/Entity/BundleConstraintValidatorTest.php |
Tests bundle constraint validation. |
| CommentNameConstraint |
class |
core/modules/comment/src/Plugin/Validation/Constraint/CommentNameConstraint.php |
Supports validating comment author names. |
| CommentNameConstraint.php |
file |
core/modules/comment/src/Plugin/Validation/Constraint/CommentNameConstraint.php |
|
| CommentNameConstraint::$messageMatch |
property |
core/modules/comment/src/Plugin/Validation/Constraint/CommentNameConstraint.php |
Message shown when the name doesn't match the author's name. |