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
Heading::validChoices function core/modules/ckeditor5/src/Plugin/CKEditor5Plugin/Heading.php Computes all valid choices for the "enabled_headings" setting.
HelpTopicDiscoveryTest::testDiscoveryExceptionInvalidRelated function core/modules/help/tests/src/Unit/HelpTopicDiscoveryTest.php @covers ::findAll
HelpTopicDiscoveryTest::testDiscoveryExceptionInvalidTopLevel function core/modules/help/tests/src/Unit/HelpTopicDiscoveryTest.php @covers ::findAll
HelpTopicDiscoveryTest::testDiscoveryExceptionInvalidYamlKey function core/modules/help/tests/src/Unit/HelpTopicDiscoveryTest.php @covers ::findAll
HelpTopicsSyntaxTest::validateHtml function core/modules/help/tests/src/Functional/HelpTopicsSyntaxTest.php Validates the HTML and header hierarchy for topic text.
hook_file_validate function core/modules/file/file.api.php Check that files meet a given criteria.
hook_validation_constraint_alter function core/core.api.php Alter validation constraint plugin definitions.
hook_views_invalidate_cache function core/modules/views/views.api.php Allow modules to respond to the invalidation of the Views cache.
hook_views_plugins_argument_validator_alter function core/modules/views/views.api.php Modify the list of available views argument validation plugins.
HTMLRestrictions::validateAllowedRestrictionsPhase1 function core/modules/ckeditor5/src/HTMLRestrictions.php Validates allowed elements — phase 1: shape of keys.
HTMLRestrictions::validateAllowedRestrictionsPhase2 function core/modules/ckeditor5/src/HTMLRestrictions.php Validates allowed elements — phase 2: shape of values.
HTMLRestrictions::validateAllowedRestrictionsPhase3 function core/modules/ckeditor5/src/HTMLRestrictions.php Validates allowed elements — phase 3: HTML tag attribute restriction keys.
HTMLRestrictions::validateAllowedRestrictionsPhase4 function core/modules/ckeditor5/src/HTMLRestrictions.php Validates allowed elements — phase 4: HTML tag attr restriction values.
HTMLRestrictions::validateAllowedRestrictionsPhase5 function core/modules/ckeditor5/src/HTMLRestrictions.php Validates allowed elements — phase 5: disallowed attribute overrides.
Image::isValid function core/lib/Drupal/Core/Image/Image.php Checks if the image is valid.
Image::validateConfigurationForm function core/modules/ckeditor5/src/Plugin/CKEditor5Plugin/Image.php
ImageEffectFormBase::validateForm function core/modules/image/src/Form/ImageEffectFormBase.php Form validation handler.
ImageEffectsTest::testEffectFormValidationErrors function core/modules/image/tests/src/Kernel/ImageEffectsTest.php Tests that validation errors are passed from the plugin to the parent form.
ImageFieldDefaultImagesTest::testInvalidDefaultImage function core/modules/image/tests/src/Functional/ImageFieldDefaultImagesTest.php Tests image field and field storage having an invalid default image.
ImageFieldValidateTest class core/modules/image/tests/src/FunctionalJavascript/ImageFieldValidateTest.php Tests validation functions such as min/max dimensions.
ImageFieldValidateTest class core/modules/image/tests/src/Functional/ImageFieldValidateTest.php Tests validation functions such as min/max dimensions.
ImageFieldValidateTest.php file core/modules/image/tests/src/FunctionalJavascript/ImageFieldValidateTest.php
ImageFieldValidateTest.php file core/modules/image/tests/src/Functional/ImageFieldValidateTest.php
ImageFieldValidateTest::$defaultTheme property core/modules/image/tests/src/FunctionalJavascript/ImageFieldValidateTest.php The theme to install as the default for testing.
ImageFieldValidateTest::$defaultTheme property core/modules/image/tests/src/Functional/ImageFieldValidateTest.php The theme to install as the default for testing.
ImageFieldValidateTest::getFieldSettings function core/modules/image/tests/src/Functional/ImageFieldValidateTest.php Returns field settings.
ImageFieldValidateTest::providerTestEmpty function core/modules/image/tests/src/Functional/ImageFieldValidateTest.php Data provider for ::testEmpty()
ImageFieldValidateTest::testAJAXValidationMessage function core/modules/image/tests/src/FunctionalJavascript/ImageFieldValidateTest.php Tests the validation message is displayed only once for ajax uploads.
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::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.
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.

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