Search for valid

  1. Search 7.x for valid
  2. Search 9.5.x for valid
  3. Search 8.9.x for valid
  4. Search 10.3.x for valid
  5. Other projects
Title Object type File name Summary
EntityBundleExistsConstraintValidator::__construct function core/lib/Drupal/Core/Validation/Plugin/Validation/Constraint/EntityBundleExistsConstraintValidator.php Constructs an EntityBundleExistsConstraintValidator object.
EntityBundleExistsConstraintValidatorTest class core/tests/Drupal/KernelTests/Core/Entity/EntityBundleExistsConstraintValidatorTest.php @group Entity
@group Validation
EntityBundleExistsConstraintValidatorTest.php file core/tests/Drupal/KernelTests/Core/Entity/EntityBundleExistsConstraintValidatorTest.php
EntityBundleExistsConstraintValidatorTest::$modules property core/tests/Drupal/KernelTests/Core/Entity/EntityBundleExistsConstraintValidatorTest.php Modules to install.
EntityBundleExistsConstraintValidatorTest::setUp function core/tests/Drupal/KernelTests/Core/Entity/EntityBundleExistsConstraintValidatorTest.php
EntityBundleExistsConstraintValidatorTest::testDynamicEntityType function core/tests/Drupal/KernelTests/Core/Entity/EntityBundleExistsConstraintValidatorTest.php Tests getting the entity type ID.
EntityBundleExistsConstraintValidatorTest::testEntityTypeIdFromMultipleParents function core/tests/Drupal/KernelTests/Core/Entity/EntityBundleExistsConstraintValidatorTest.php Tests getting the entity type ID from a deeply nested property path.
EntityBundleExistsConstraintValidatorTest::testEntityTypeIdIsStatic function core/tests/Drupal/KernelTests/Core/Entity/EntityBundleExistsConstraintValidatorTest.php Tests validating a bundle of a known (static) entity type ID.
EntityBundleExistsConstraintValidatorTest::testInvalidEntityTypeId function core/tests/Drupal/KernelTests/Core/Entity/EntityBundleExistsConstraintValidatorTest.php Tests when the constraint's entityTypeId value is not valid.
EntityBundleExistsConstraintValidatorTest::testValueMustBeAString function core/tests/Drupal/KernelTests/Core/Entity/EntityBundleExistsConstraintValidatorTest.php Tests that the constraint validator will only work with strings.
EntityChangedConstraintValidator class core/lib/Drupal/Core/Entity/Plugin/Validation/Constraint/EntityChangedConstraintValidator.php Validates the EntityChanged constraint.
EntityChangedConstraintValidator.php file core/lib/Drupal/Core/Entity/Plugin/Validation/Constraint/EntityChangedConstraintValidator.php
EntityChangedConstraintValidator::validate function core/lib/Drupal/Core/Entity/Plugin/Validation/Constraint/EntityChangedConstraintValidator.php
EntityCondition::validate function core/modules/jsonapi/src/Query/EntityCondition.php Validates the filter has the required fields.
EntityConditionTest::testValidation function core/modules/jsonapi/tests/src/Unit/Query/EntityConditionTest.php @covers ::validate
@dataProvider validationProvider
EntityConditionTest::validationProvider function core/modules/jsonapi/tests/src/Unit/Query/EntityConditionTest.php Data provider for testValidation.
EntityContentBase::isEntityValidationRequired function core/modules/migrate/src/Plugin/migrate/destination/EntityContentBase.php Returns a state of whether an entity needs to be validated before saving.
EntityContentBase::validateEntity function core/modules/migrate/src/Plugin/migrate/destination/EntityContentBase.php Validates the entity.
EntityContextTypedDataTest::testValidateConfigEntityContext function core/tests/Drupal/KernelTests/Core/Plugin/EntityContextTypedDataTest.php Tests that entity contexts wrapping a config entity can be validated.
EntityConverterTest::testConvertWithInvalidDynamicEntityType function core/tests/Drupal/Tests/Core/ParamConverter/EntityConverterTest.php Tests the convert() method with an invalid dynamic entity type.
EntityConverterTest::testConvertWithInvalidEntityType function core/tests/Drupal/Tests/Core/ParamConverter/EntityConverterTest.php Tests the convert() method with an invalid entity type.
EntityDisplayModeAddForm::validateForm function core/modules/field_ui/src/Form/EntityDisplayModeAddForm.php Form validation handler.
EntityDisplayModeListBuilder::isValidEntity function core/modules/field_ui/src/EntityDisplayModeListBuilder.php Filters entities based on their view builder handlers.
EntityDisplayTest::testEntityDisplayInvalidateCacheTags function core/modules/field_ui/tests/src/Kernel/EntityDisplayTest.php Ensure that entity view display changes invalidates cache tags.
EntityDisplayTest::testExtraFieldComponentInitialInvalidConfig function core/modules/field_ui/tests/src/Kernel/EntityDisplayTest.php Tests the behavior of an extra field component with initial invalid values.
EntityFieldManagerTest::$cacheTagsInvalidator property core/tests/Drupal/Tests/Core/Entity/EntityFieldManagerTest.php The cache tags invalidator.
EntityFieldManagerTest::testGetBaseFieldDefinitionsInvalidDefinition function core/tests/Drupal/Tests/Core/Entity/EntityFieldManagerTest.php Tests the getBaseFieldDefinitions() method with an invalid definition.
EntityFieldTest::testEntityConstraintValidation function core/tests/Drupal/KernelTests/Core/Entity/EntityFieldTest.php Tests validation constraints provided by the Entity API.
EntityFormDisplay::validateFormValues function core/lib/Drupal/Core/Entity/Entity/EntityFormDisplay.php Validates submitted widget values and sets the corresponding form errors.
EntityFormDisplayInterface::validateFormValues function core/lib/Drupal/Core/Entity/Display/EntityFormDisplayInterface.php Validates submitted widget values and sets the corresponding form errors.
EntityFormDisplayValidationTest class core/tests/Drupal/KernelTests/Core/Entity/EntityFormDisplayValidationTest.php Tests validation of entity_form_display entities.
EntityFormDisplayValidationTest.php file core/tests/Drupal/KernelTests/Core/Entity/EntityFormDisplayValidationTest.php
EntityFormDisplayValidationTest::$hasLabel property core/tests/Drupal/KernelTests/Core/Entity/EntityFormDisplayValidationTest.php Whether a config entity of this type has a label.
EntityFormDisplayValidationTest::$modules property core/tests/Drupal/KernelTests/Core/Entity/EntityFormDisplayValidationTest.php Modules to install.
EntityFormDisplayValidationTest::setUp function core/tests/Drupal/KernelTests/Core/Entity/EntityFormDisplayValidationTest.php
EntityFormDisplayValidationTest::testImmutableProperties function core/tests/Drupal/KernelTests/Core/Entity/EntityFormDisplayValidationTest.php Tests that immutable properties cannot be changed.
EntityFormDisplayValidationTest::testMultilineTextFieldWidgetPlaceholder function core/tests/Drupal/KernelTests/Core/Entity/EntityFormDisplayValidationTest.php Tests validation of entity form display component's widget settings.
EntityFormDisplayValidationTest::testTargetBundleMustExist function core/tests/Drupal/KernelTests/Core/Entity/EntityFormDisplayValidationTest.php Tests that the target bundle of the entity form display is checked.
EntityFormModeListBuilder::isValidEntity function core/modules/field_ui/src/EntityFormModeListBuilder.php Filters entities based on their form mode handlers.
EntityFormModeValidationTest class core/tests/Drupal/KernelTests/Core/Entity/EntityFormModeValidationTest.php Tests validation of entity_form_mode entities.
EntityFormModeValidationTest.php file core/tests/Drupal/KernelTests/Core/Entity/EntityFormModeValidationTest.php
EntityFormModeValidationTest::$modules property core/tests/Drupal/KernelTests/Core/Entity/EntityFormModeValidationTest.php Modules to install.
EntityFormModeValidationTest::setUp function core/tests/Drupal/KernelTests/Core/Entity/EntityFormModeValidationTest.php
EntityFormModeValidationTest::testImmutableProperties function core/tests/Drupal/KernelTests/Core/Entity/EntityFormModeValidationTest.php Tests that immutable properties cannot be changed.
EntityFormTest::testValidationHandlers function core/modules/system/tests/src/Functional/Entity/EntityFormTest.php Checks that validation handlers works as expected.
EntityHasFieldConstraintValidator class core/lib/Drupal/Core/Entity/Plugin/Validation/Constraint/EntityHasFieldConstraintValidator.php Validates the EntityHasField constraint.
EntityHasFieldConstraintValidator.php file core/lib/Drupal/Core/Entity/Plugin/Validation/Constraint/EntityHasFieldConstraintValidator.php
EntityHasFieldConstraintValidator::validate function core/lib/Drupal/Core/Entity/Plugin/Validation/Constraint/EntityHasFieldConstraintValidator.php
EntityHasFieldConstraintValidatorTest class core/tests/Drupal/KernelTests/Core/Entity/EntityHasFieldConstraintValidatorTest.php @covers \Drupal\Core\Entity\Plugin\Validation\Constraint\EntityHasFieldConstraintValidator
EntityHasFieldConstraintValidatorTest.php file core/tests/Drupal/KernelTests/Core/Entity/EntityHasFieldConstraintValidatorTest.php

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