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
FieldStorageAddForm::validateForm function core/modules/field_ui/src/Form/FieldStorageAddForm.php Form validation handler.
FieldStorageConfigEditForm::validateCardinality function core/modules/field_ui/src/Form/FieldStorageConfigEditForm.php Validates the cardinality.
FieldStorageConfigEntityUnitTest::providerInvalidEnforcedCardinality function core/modules/field/tests/src/Unit/FieldStorageConfigEntityUnitTest.php Data provider for ::testInvalidEnforcedCardinality()
FieldStorageConfigEntityUnitTest::testInvalidEnforcedCardinality function core/modules/field/tests/src/Unit/FieldStorageConfigEntityUnitTest.php Tests invalid enforced cardinality.
FieldUiTest::$pathValidator property core/modules/field_ui/tests/src/Unit/FieldUiTest.php The path validator.
FieldUninstallValidator class core/modules/field/src/ProxyClass/FieldUninstallValidator.php Provides a proxy class for \Drupal\field\FieldUninstallValidator.
FieldUninstallValidator class core/modules/field/src/FieldUninstallValidator.php Prevents uninstallation of modules providing active field storage.
FieldUninstallValidator.php file core/modules/field/src/ProxyClass/FieldUninstallValidator.php
FieldUninstallValidator.php file core/modules/field/src/FieldUninstallValidator.php
FieldUninstallValidator::$container property core/modules/field/src/ProxyClass/FieldUninstallValidator.php The service container.
FieldUninstallValidator::$drupalProxyOriginalServiceId property core/modules/field/src/ProxyClass/FieldUninstallValidator.php The id of the original proxied service.
FieldUninstallValidator::$fieldStorageConfigStorage property core/modules/field/src/FieldUninstallValidator.php The field storage config storage.
FieldUninstallValidator::$fieldTypeManager property core/modules/field/src/FieldUninstallValidator.php The field type plugin manager.
FieldUninstallValidator::$service property core/modules/field/src/ProxyClass/FieldUninstallValidator.php The real proxied service, after it was lazy loaded.
FieldUninstallValidator::getFieldStoragesByModule function core/modules/field/src/FieldUninstallValidator.php Returns all field storages for a specified module.
FieldUninstallValidator::getFieldTypeLabel function core/modules/field/src/FieldUninstallValidator.php Returns the label for a specified field type.
FieldUninstallValidator::lazyLoadItself function core/modules/field/src/ProxyClass/FieldUninstallValidator.php Lazy loads the real service from the container.
FieldUninstallValidator::setStringTranslation function core/modules/field/src/ProxyClass/FieldUninstallValidator.php
FieldUninstallValidator::validate function core/modules/field/src/ProxyClass/FieldUninstallValidator.php Determines the reasons a module can not be uninstalled.
FieldUninstallValidator::validate function core/modules/field/src/FieldUninstallValidator.php Determines the reasons a module can not be uninstalled.
FieldUninstallValidator::__construct function core/modules/field/src/ProxyClass/FieldUninstallValidator.php Constructs a ProxyClass Drupal proxy object.
FieldUninstallValidator::__construct function core/modules/field/src/FieldUninstallValidator.php Constructs a new FieldUninstallValidator.
FieldUninstallValidatorTest class core/modules/field/tests/src/Unit/FieldUninstallValidatorTest.php @coversDefaultClass \Drupal\field\FieldUninstallValidator
@group field
FieldUninstallValidatorTest.php file core/modules/field/tests/src/Unit/FieldUninstallValidatorTest.php
FieldUninstallValidatorTest::$fieldTypePluginManager property core/modules/field/tests/src/Unit/FieldUninstallValidatorTest.php The mock field type plugin manager;
FieldUninstallValidatorTest::$fieldUninstallValidator property core/modules/field/tests/src/Unit/FieldUninstallValidatorTest.php
FieldUninstallValidatorTest::setUp function core/modules/field/tests/src/Unit/FieldUninstallValidatorTest.php
FieldUninstallValidatorTest::testValidateDeleted function core/modules/field/tests/src/Unit/FieldUninstallValidatorTest.php @covers ::validate
FieldUninstallValidatorTest::testValidateNoDeleted function core/modules/field/tests/src/Unit/FieldUninstallValidatorTest.php @covers ::validate
FieldUninstallValidatorTest::testValidateNoStorages function core/modules/field/tests/src/Unit/FieldUninstallValidatorTest.php @covers ::validate
FieldValidationTest class core/modules/field/tests/src/Kernel/FieldValidationTest.php Tests field validation.
FieldValidationTest.php file core/modules/field/tests/src/Kernel/FieldValidationTest.php
FieldValidationTest::$bundle property core/modules/field/tests/src/Kernel/FieldValidationTest.php
FieldValidationTest::$entity property core/modules/field/tests/src/Kernel/FieldValidationTest.php
FieldValidationTest::$entityType property core/modules/field/tests/src/Kernel/FieldValidationTest.php
FieldValidationTest::setUp function core/modules/field/tests/src/Kernel/FieldValidationTest.php Set the default field storage backend for fields created during tests.
FieldValidationTest::testCardinalityConstraint function core/modules/field/tests/src/Kernel/FieldValidationTest.php Tests that the number of values is validated against the field cardinality.
FieldValidationTest::testFieldConstraints function core/modules/field/tests/src/Kernel/FieldValidationTest.php Tests that constraints defined by the field type are validated.
FieldWidgetConstraintValidator class core/modules/system/tests/modules/entity_test/src/Plugin/Validation/Constraint/FieldWidgetConstraintValidator.php Validates the FieldWidgetConstraint constraint.
FieldWidgetConstraintValidator.php file core/modules/system/tests/modules/entity_test/src/Plugin/Validation/Constraint/FieldWidgetConstraintValidator.php
FieldWidgetConstraintValidator::validate function core/modules/system/tests/modules/entity_test/src/Plugin/Validation/Constraint/FieldWidgetConstraintValidator.php
FieldWidgetConstraintValidatorTest class core/tests/Drupal/KernelTests/Core/Entity/FieldWidgetConstraintValidatorTest.php Tests validation constraints for FieldWidgetConstraintValidatorTest.
FieldWidgetConstraintValidatorTest.php file core/tests/Drupal/KernelTests/Core/Entity/FieldWidgetConstraintValidatorTest.php
FieldWidgetConstraintValidatorTest::$modules property core/tests/Drupal/KernelTests/Core/Entity/FieldWidgetConstraintValidatorTest.php Modules to enable.
FieldWidgetConstraintValidatorTest::getErrorsForEntity function core/tests/Drupal/KernelTests/Core/Entity/FieldWidgetConstraintValidatorTest.php Gets the form errors for a given entity.
FieldWidgetConstraintValidatorTest::setUp function core/tests/Drupal/KernelTests/Core/Entity/FieldWidgetConstraintValidatorTest.php
FieldWidgetConstraintValidatorTest::testEntityLevelConstraintValidation function core/tests/Drupal/KernelTests/Core/Entity/FieldWidgetConstraintValidatorTest.php Tests entity level constraint validation.
FieldWidgetConstraintValidatorTest::testValidation function core/tests/Drupal/KernelTests/Core/Entity/FieldWidgetConstraintValidatorTest.php Tests widget constraint validation.
FieldWidgetConstraintValidatorTest::testValidationWithCompositeConstraint function core/tests/Drupal/KernelTests/Core/Entity/FieldWidgetConstraintValidatorTest.php Tests widget constraint validation with composite constraints.
FileFieldValidateTest class core/modules/file/tests/src/FunctionalJavascript/FileFieldValidateTest.php Tests validation functions such as file type, max file size, max size per
node, and required.

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