| 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::__construct |
function |
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. |
| BaseFileConstraintValidator |
class |
core/modules/file/src/Plugin/Validation/Constraint/BaseFileConstraintValidator.php |
Provides a base class for file constraint validators. |
| BaseFileConstraintValidator.php |
file |
core/modules/file/src/Plugin/Validation/Constraint/BaseFileConstraintValidator.php |
|
| BaseFileConstraintValidator::assertValueIsFile |
function |
core/modules/file/src/Plugin/Validation/Constraint/BaseFileConstraintValidator.php |
Checks the value is of type FileInterface. |
| BlockContentEntityChangedConstraint |
class |
core/modules/block_content/src/Plugin/Validation/Constraint/BlockContentEntityChangedConstraint.php |
Validation constraint for the block content entity changed timestamp. |
| BlockContentEntityChangedConstraint.php |
file |
core/modules/block_content/src/Plugin/Validation/Constraint/BlockContentEntityChangedConstraint.php |
|
| BlockContentEntityChangedConstraintValidator |
class |
core/modules/block_content/src/Plugin/Validation/Constraint/BlockContentEntityChangedConstraintValidator.php |
Validates the BlockContentEntityChanged constraint. |
| BlockContentEntityChangedConstraintValidator.php |
file |
core/modules/block_content/src/Plugin/Validation/Constraint/BlockContentEntityChangedConstraintValidator.php |
|
| BlockContentEntityChangedConstraintValidator::validate |
function |
core/modules/block_content/src/Plugin/Validation/Constraint/BlockContentEntityChangedConstraintValidator.php |
|
| BlockContentRemoveConstraint |
class |
core/modules/block_content/tests/src/Functional/Update/BlockContentRemoveConstraint.php |
Tests the upgrade path for removing unique constraint on blocks. |
| BlockContentRemoveConstraint.php |
file |
core/modules/block_content/tests/src/Functional/Update/BlockContentRemoveConstraint.php |
|
| BlockContentRemoveConstraint::$entityDefinitionUpdateManager |
property |
core/modules/block_content/tests/src/Functional/Update/BlockContentRemoveConstraint.php |
Entity definition update manager. |
| BlockContentRemoveConstraint::getFieldInfoConstraints |
function |
core/modules/block_content/tests/src/Functional/Update/BlockContentRemoveConstraint.php |
Get constraints for info field. |
| BlockContentRemoveConstraint::setDatabaseDumpFiles |
function |
core/modules/block_content/tests/src/Functional/Update/BlockContentRemoveConstraint.php |
Set database dump files to be used. |
| BlockContentRemoveConstraint::setUp |
function |
core/modules/block_content/tests/src/Functional/Update/BlockContentRemoveConstraint.php |
|
| BlockContentRemoveConstraint::testRunUpdates |
function |
core/modules/block_content/tests/src/Functional/Update/BlockContentRemoveConstraint.php |
Tests the upgrade path for moderation state reindexing. |
| block_content_post_update_entity_changed_constraint |
function |
core/modules/block_content/block_content.post_update.php |
Clear the entity type cache. |
| 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 |
|