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
ImageFieldValidateTest::testEmpty function core/modules/image/tests/src/Functional/ImageFieldValidateTest.php Tests creating an entity while leaving the image field empty.
ImageFieldValidateTest::testFriendlyAjaxValidation function core/modules/image/tests/src/FunctionalJavascript/ImageFieldValidateTest.php Tests that image field validation works with other form submit handlers.
ImageFieldValidateTest::testRequiredAttributes function core/modules/image/tests/src/Functional/ImageFieldValidateTest.php Tests that required alt/title fields gets validated right.
ImageFieldValidateTest::testResolution function core/modules/image/tests/src/Functional/ImageFieldValidateTest.php Tests min/max dimensions settings.
ImageFieldValidateTest::testValid function core/modules/image/tests/src/Functional/ImageFieldValidateTest.php Tests image validity.
ImageInterface::isValid function core/lib/Drupal/Core/Image/ImageInterface.php Checks if the image is valid.
ImageItem::validateDefaultImageForm function core/modules/image/src/Plugin/Field/FieldType/ImageItem.php Validates the managed_file element for the default Image form.
ImageItem::validateResolution function core/modules/image/src/Plugin/Field/FieldType/ImageItem.php Element validate function for dimensions fields.
ImageResize::validateConfigurationForm function core/modules/ckeditor5/src/Plugin/CKEditor5Plugin/ImageResize.php
ImageStyleEditForm::effectValidate function core/modules/image/src/Form/ImageStyleEditForm.php Validate handler for image effect.
ImageStyleValidationTest class core/modules/image/tests/src/Kernel/ImageStyleValidationTest.php Tests validation of image_style entities.
ImageStyleValidationTest.php file core/modules/image/tests/src/Kernel/ImageStyleValidationTest.php
ImageStyleValidationTest::$modules property core/modules/image/tests/src/Kernel/ImageStyleValidationTest.php Modules to install.
ImageStyleValidationTest::setUp function core/modules/image/tests/src/Kernel/ImageStyleValidationTest.php
ImageTest::testInvalidGetKeywordOffset function core/tests/Drupal/Tests/Component/Utility/ImageTest.php @covers ::getKeywordOffset
ImageTest::testIsValid function core/tests/Drupal/Tests/Core/Image/ImageTest.php Tests \Drupal\Core\Image\Image::isValid().
ImageToolkitBase::validateConfigurationForm function core/lib/Drupal/Core/ImageToolkit/ImageToolkitBase.php Form validation handler.
ImageToolkitForm::validateForm function core/modules/system/src/Form/ImageToolkitForm.php Form validation handler.
ImageToolkitInterface::isValid function core/lib/Drupal/Core/ImageToolkit/ImageToolkitInterface.php Checks if the image is valid.
ImageToolkitManager::getAllValidExtensions function core/lib/Drupal/Core/ImageToolkit/ImageToolkitManager.php Returns all valid extensions.
ImageToolkitOperationBase::validateArguments function core/lib/Drupal/Core/ImageToolkit/ImageToolkitOperationBase.php Validates the arguments.
ImageUploadTest::testLockAfterFailedValidation function core/modules/ckeditor5/tests/src/Functional/ImageUploadTest.php Test that lock is removed after a failed validation.
ImageWidget::validateRequiredFields function core/modules/image/src/Plugin/Field/FieldWidget/ImageWidget.php Validate callback for alt and title field, if the user wants them required.
ImmutablePropertiesConstraintValidator class core/lib/Drupal/Core/Entity/Plugin/Validation/Constraint/ImmutablePropertiesConstraintValidator.php Validates the ImmutableProperties constraint.
ImmutablePropertiesConstraintValidator.php file core/lib/Drupal/Core/Entity/Plugin/Validation/Constraint/ImmutablePropertiesConstraintValidator.php
ImmutablePropertiesConstraintValidator::create function core/lib/Drupal/Core/Entity/Plugin/Validation/Constraint/ImmutablePropertiesConstraintValidator.php Instantiates a new instance of this class.
ImmutablePropertiesConstraintValidator::validate function core/lib/Drupal/Core/Entity/Plugin/Validation/Constraint/ImmutablePropertiesConstraintValidator.php
ImmutablePropertiesConstraintValidator::__construct function core/lib/Drupal/Core/Entity/Plugin/Validation/Constraint/ImmutablePropertiesConstraintValidator.php Constructs an ImmutablePropertiesConstraintValidator object.
ImmutablePropertiesConstraintValidatorTest class core/tests/Drupal/KernelTests/Core/Entity/ImmutablePropertiesConstraintValidatorTest.php @group Entity
@group Validation
ImmutablePropertiesConstraintValidatorTest.php file core/tests/Drupal/KernelTests/Core/Entity/ImmutablePropertiesConstraintValidatorTest.php
ImmutablePropertiesConstraintValidatorTest::$modules property core/tests/Drupal/KernelTests/Core/Entity/ImmutablePropertiesConstraintValidatorTest.php Modules to install.
ImmutablePropertiesConstraintValidatorTest::testImmutablePropertyCannotBeChanged function core/tests/Drupal/KernelTests/Core/Entity/ImmutablePropertiesConstraintValidatorTest.php Tests that changing a config entity's immutable property raises an error.
ImmutablePropertiesConstraintValidatorTest::testValidatedEntityMustHaveAnId function core/tests/Drupal/KernelTests/Core/Entity/ImmutablePropertiesConstraintValidatorTest.php Tests that entities without an ID will raise an exception.
ImmutablePropertiesConstraintValidatorTest::testValidatorRejectsANonExistentProperty function core/tests/Drupal/KernelTests/Core/Entity/ImmutablePropertiesConstraintValidatorTest.php Tests that the validator throws an exception for non-existent properties.
ImmutablePropertiesConstraintValidatorTest::testValidatorRequiresAConfigEntity function core/tests/Drupal/KernelTests/Core/Entity/ImmutablePropertiesConstraintValidatorTest.php Tests that only config entities are accepted by the validator.
ImportForm::validateForm function core/modules/locale/src/Form/ImportForm.php Form validation handler.
InfoParserUnitTest::providerInvalidLifecycle function core/tests/Drupal/Tests/Core/Extension/InfoParserUnitTest.php Data provider for testInvalidLifecycle().
InfoParserUnitTest::providerValidLifecycle function core/tests/Drupal/Tests/Core/Extension/InfoParserUnitTest.php Data provider for testValidLifecycle().
InfoParserUnitTest::testInvalidLifecycle function core/tests/Drupal/Tests/Core/Extension/InfoParserUnitTest.php Tests an info file with invalid lifecycle values.
InfoParserUnitTest::testValidLifecycle function core/tests/Drupal/Tests/Core/Extension/InfoParserUnitTest.php Tests an info file with valid lifecycle values.
InlineBlock::blockValidate function core/modules/layout_builder/src/Plugin/Block/InlineBlock.php
InOperator::validate function core/modules/views/src/Plugin/views/filter/InOperator.php Validate that the plugin is correct and can be saved.
InOperatorTest::testValidate function core/modules/views/tests/src/Unit/Plugin/filter/InOperatorTest.php @covers ::validate
InOperatorTest::validate_options_callback function core/modules/views/tests/src/Unit/Plugin/filter/InOperatorTest.php
InputStreamUploadedFile::validate function core/modules/file/src/Upload/InputStreamUploadedFile.php Validates the uploaded file information.
InputTest::testInputIsValidated function core/tests/Drupal/KernelTests/Core/Recipe/InputTest.php
InstallCommand::validateProfile function core/lib/Drupal/Core/Command/InstallCommand.php Validates a user provided install profile.
InstallCommand::validateRecipe function core/lib/Drupal/Core/Command/InstallCommand.php Validates a user provided recipe.
InstallProfileUninstallValidator class core/lib/Drupal/Core/ProxyClass/Extension/InstallProfileUninstallValidator.php Provides a proxy class for \Drupal\Core\Extension\InstallProfileUninstallValidator.
InstallProfileUninstallValidator class core/lib/Drupal/Core/Extension/InstallProfileUninstallValidator.php Ensures install profile can only be uninstalled if the modules are available.

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