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
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[[api-linebreak]]
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.
EntityBundleExistsConstraintValidator class core/lib/Drupal/Core/Validation/Plugin/Validation/Constraint/EntityBundleExistsConstraintValidator.php Validates that a bundle exists on a certain content entity type.
EntityBundleExistsConstraintValidator.php file core/lib/Drupal/Core/Validation/Plugin/Validation/Constraint/EntityBundleExistsConstraintValidator.php
EntityBundleExistsConstraintValidator::create function core/lib/Drupal/Core/Validation/Plugin/Validation/Constraint/EntityBundleExistsConstraintValidator.php Instantiates a new instance of this class.
EntityBundleExistsConstraintValidator::validate function core/lib/Drupal/Core/Validation/Plugin/Validation/Constraint/EntityBundleExistsConstraintValidator.php
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[[api-linebreak]]
@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.

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