Search for valid

  1. Search 7.x for valid
  2. Search 9.5.x for valid
  3. Search 10.3.x for valid
  4. Search 11.x for valid
  5. Other projects
Title Object type File name Summary
EmailValidatorTest::testIsValidException function core/tests/Drupal/Tests/Component/Utility/EmailValidatorTest.php @covers ::isValid
entity.bundle_config_import_validator service core/core.services.yml Drupal\Core\Entity\Event\BundleConfigImportValidate
Entity::validateArgument function core/modules/views/src/Plugin/views/argument_validator/Entity.php Performs validation for a given argument.
Entity::validateEntity function core/modules/views/src/Plugin/views/argument_validator/Entity.php Validates an individual entity against class access settings.
EntityAdapterUnitTest::testGetInvalidField function core/tests/Drupal/Tests/Core/Entity/TypedData/EntityAdapterUnitTest.php @covers ::get
EntityAutocomplete::validateEntityAutocomplete function core/lib/Drupal/Core/Entity/Element/EntityAutocomplete.php Form element validation handler for entity_autocomplete elements.
EntityAutocompleteElementFormTest::testInvalidEntityAutocompleteElement function core/tests/Drupal/KernelTests/Core/Entity/Element/EntityAutocompleteElementFormTest.php Tests invalid entries in the EntityAutocomplete Form API element.
EntityAutocompleteElementFormTest::testValidEntityAutocompleteElement function core/tests/Drupal/KernelTests/Core/Entity/Element/EntityAutocompleteElementFormTest.php Tests valid entries in the EntityAutocomplete Form API element.
EntityAutocompleteElementFormTest::validateForm function core/tests/Drupal/KernelTests/Core/Entity/Element/EntityAutocompleteElementFormTest.php Form validation handler.
EntityBase::getCacheTagsToInvalidate function core/lib/Drupal/Core/Entity/EntityBase.php Returns the cache tags that should be used to invalidate caches.
EntityBase::getListCacheTagsToInvalidate function core/lib/Drupal/Core/Entity/EntityBase.php The list cache tags to invalidate for this entity.
EntityBase::invalidateTagsOnDelete function core/lib/Drupal/Core/Entity/EntityBase.php Invalidates an entity's cache tags upon delete.
EntityBase::invalidateTagsOnSave function core/lib/Drupal/Core/Entity/EntityBase.php Invalidates an entity's cache tags upon save.
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.
EntityFormModeListBuilder::isValidEntity function core/modules/field_ui/src/EntityFormModeListBuilder.php Filters entities based on their form mode handlers.
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
EntityHasFieldConstraintValidatorTest::$modules property core/tests/Drupal/KernelTests/Core/Entity/EntityHasFieldConstraintValidatorTest.php Modules to enable.
EntityHasFieldConstraintValidatorTest::setUp function core/tests/Drupal/KernelTests/Core/Entity/EntityHasFieldConstraintValidatorTest.php
EntityHasFieldConstraintValidatorTest::testValidation function core/tests/Drupal/KernelTests/Core/Entity/EntityHasFieldConstraintValidatorTest.php
EntityInterface::getCacheTagsToInvalidate function core/lib/Drupal/Core/Entity/EntityInterface.php Returns the cache tags that should be used to invalidate caches.
EntityModerationForm::$validation property core/modules/content_moderation/src/Form/EntityModerationForm.php The moderation state transition validation service.
EntityNormalizerTest::testDenormalizeWithInvalidBundle function core/modules/serialization/tests/src/Unit/Normalizer/EntityNormalizerTest.php Tests the denormalize method with a bundle property.
EntityNormalizerTest::testDenormalizeWithValidBundle function core/modules/serialization/tests/src/Unit/Normalizer/EntityNormalizerTest.php Tests the denormalize method with a bundle property.
EntityQueryRelationshipTest::testInvalidSpecifier function core/tests/Drupal/KernelTests/Core/Entity/EntityQueryRelationshipTest.php Tests the invalid specifier in the query relationship.
EntityReference::validate function core/modules/views/src/Plugin/views/display/EntityReference.php Validate that the plugin is correct and can be saved.
EntityReferenceFieldTest::testEntityReferenceFieldValidation function core/tests/Drupal/KernelTests/Core/Entity/EntityReferenceFieldTest.php Tests reference field validation.

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