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
FieldableEntityInterface::setValidationRequired function core/lib/Drupal/Core/Entity/FieldableEntityInterface.php Sets whether entity validation is required before saving the entity.
FieldableEntityInterface::validate function core/lib/Drupal/Core/Entity/FieldableEntityInterface.php Validates the currently set values.
FieldConfigEditForm::validateForm function core/modules/field_ui/src/Form/FieldConfigEditForm.php Form validation handler.
FieldConfigValidationTest class core/modules/field/tests/src/Kernel/Entity/FieldConfigValidationTest.php Tests validation of field_config entities.
FieldConfigValidationTest.php file core/modules/field/tests/src/Kernel/Entity/FieldConfigValidationTest.php
FieldConfigValidationTest::$modules property core/modules/field/tests/src/Kernel/Entity/FieldConfigValidationTest.php Modules to install.
FieldConfigValidationTest::setUp function core/modules/field/tests/src/Kernel/Entity/FieldConfigValidationTest.php
FieldConfigValidationTest::testEntityReferenceSelectionHandlerIsValidated function core/modules/field/tests/src/Kernel/Entity/FieldConfigValidationTest.php Tests that entity reference selection handler plugin IDs are validated.
FieldConfigValidationTest::testFieldTypePluginIsValidated function core/modules/field/tests/src/Kernel/Entity/FieldConfigValidationTest.php Tests that the field type plugin's existence is validated.
FieldConfigValidationTest::testImmutableProperties function core/modules/field/tests/src/Kernel/Entity/FieldConfigValidationTest.php Tests that immutable properties cannot be changed.
FieldConfigValidationTest::testInvalidDependencies function core/modules/field/tests/src/Kernel/Entity/FieldConfigValidationTest.php Tests that validation fails if config dependencies are invalid.
FieldConfigValidationTest::testMultilineTextFieldDefaultValue function core/modules/field/tests/src/Kernel/Entity/FieldConfigValidationTest.php Tests validation of a field_config's default value.
FieldConfigValidationTest::testRequiredPropertyKeysMissing function core/modules/field/tests/src/Kernel/Entity/FieldConfigValidationTest.php A property that is required must have a value (i.e. not NULL).
FieldConfigValidationTest::testRequiredPropertyValuesMissing function core/modules/field/tests/src/Kernel/Entity/FieldConfigValidationTest.php A property that is required must have a value (i.e. not NULL).
FieldConfigValidationTest::testTargetBundleMustExist function core/modules/field/tests/src/Kernel/Entity/FieldConfigValidationTest.php Tests that the target bundle of the field is checked.
FieldDefinitionTest::testInvalidDefaultValueCallback function core/tests/Drupal/Tests/Core/Entity/FieldDefinitionTest.php Tests invalid default value callbacks.
FieldItemList::defaultValuesFormValidate function core/lib/Drupal/Core/Field/FieldItemList.php Validates the submitted default value.
FieldItemListInterface::defaultValuesFormValidate function core/lib/Drupal/Core/Field/FieldItemListInterface.php Validates the submitted default value.
FieldItemListTest::testDefaultValuesFormValidate function core/tests/Drupal/Tests/Core/Field/FieldItemListTest.php @covers ::defaultValuesFormValidate
FieldKernelTestBase::entityValidateAndSave function core/modules/field/tests/src/Kernel/FieldKernelTestBase.php Validate and save entity. Fail if violations are found.
FieldLayoutEntityDisplayFormTrait::validateForm function core/modules/field_layout/src/Form/FieldLayoutEntityDisplayFormTrait.php Overrides \Drupal\field_ui\Form\EntityDisplayFormBase::validateForm().
FieldPluginBaseTest::$pathValidator property core/modules/views/tests/src/Unit/Plugin/field/FieldPluginBaseTest.php The mocked path validator.
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.

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