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 11.x for valid
  5. Other projects
Title Object type File name Summary
FieldStorageAddForm::validateFieldType function core/modules/field_ui/src/Form/FieldStorageAddForm.php Validates the second step (field storage selection and label) of the form.
FieldStorageAddForm::validateGroupOrField function core/modules/field_ui/src/Form/FieldStorageAddForm.php Validates the first step of the form.
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.
FieldStorageConfigValidationTest class core/modules/field/tests/src/Kernel/Entity/FieldStorageConfigValidationTest.php Tests validation of field_storage_config entities.
FieldStorageConfigValidationTest.php file core/modules/field/tests/src/Kernel/Entity/FieldStorageConfigValidationTest.php
FieldStorageConfigValidationTest::$modules property core/modules/field/tests/src/Kernel/Entity/FieldStorageConfigValidationTest.php Modules to install.
FieldStorageConfigValidationTest::setUp function core/modules/field/tests/src/Kernel/Entity/FieldStorageConfigValidationTest.php
FieldStorageConfigValidationTest::testFieldTypePluginIsValidated function core/modules/field/tests/src/Kernel/Entity/FieldStorageConfigValidationTest.php Tests that the field type plugin's existence is validated.
FieldStorageConfigValidationTest::testImmutableProperties function core/modules/field/tests/src/Kernel/Entity/FieldStorageConfigValidationTest.php Tests that immutable properties cannot be changed.
FieldTypePluginManagerTest::testGetGroupedDefinitionsInvalid function core/tests/Drupal/Tests/Core/Field/FieldTypePluginManagerTest.php @covers ::getGroupedDefinitions
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::validateConfigImport function core/modules/field/src/FieldUninstallValidator.php Determines reasons a module can not be uninstalled prior to config import.
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

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