Search for validate

  1. Search 7.x for validate
  2. Search 9.5.x for validate
  3. Search 8.9.x for validate
  4. Search 10.3.x for validate
  5. Other projects
Title Object type File name Summary
LengthConstraint::validatedBy function core/lib/Drupal/Core/Validation/Plugin/Validation/Constraint/LengthConstraint.php
LibraryDiscoveryParser::validateCssLibrary function core/lib/Drupal/Core/Asset/LibraryDiscoveryParser.php Validates CSS library structure.
LinkAccessConstraintValidator::validate function core/modules/link/src/Plugin/Validation/Constraint/LinkAccessConstraintValidator.php
LinkAccessConstraintValidatorTest::providerValidate function core/modules/link/tests/src/Unit/Plugin/Validation/Constraint/LinkAccessConstraintValidatorTest.php Data provider for LinkAccessConstraintValidator::validate().
LinkAccessConstraintValidatorTest::testValidate function core/modules/link/tests/src/Unit/Plugin/Validation/Constraint/LinkAccessConstraintValidatorTest.php Tests the access validation constraint for links.
LinkExternalProtocolsConstraintValidator::validate function core/modules/link/src/Plugin/Validation/Constraint/LinkExternalProtocolsConstraintValidator.php
LinkExternalProtocolsConstraintValidatorTest::providerValidate function core/modules/link/tests/src/Unit/Plugin/Validation/Constraint/LinkExternalProtocolsConstraintValidatorTest.php Data provider for ::testValidate.
LinkExternalProtocolsConstraintValidatorTest::testValidate function core/modules/link/tests/src/Unit/Plugin/Validation/Constraint/LinkExternalProtocolsConstraintValidatorTest.php @covers ::validate
@dataProvider providerValidate
@runInSeparateProcess
LinkExternalProtocolsConstraintValidatorTest::testValidateIgnoresInternalUrls function core/modules/link/tests/src/Unit/Plugin/Validation/Constraint/LinkExternalProtocolsConstraintValidatorTest.php @covers ::validate
LinkExternalProtocolsConstraintValidatorTest::testValidateWithMalformedUri function core/modules/link/tests/src/Unit/Plugin/Validation/Constraint/LinkExternalProtocolsConstraintValidatorTest.php @covers ::validate
LinkNotExistingInternalConstraintValidator::validate function core/modules/link/src/Plugin/Validation/Constraint/LinkNotExistingInternalConstraintValidator.php
LinkNotExistingInternalConstraintValidatorTest::testValidateFromNonExistingRoute function core/modules/link/tests/src/Unit/Plugin/Validation/Constraint/LinkNotExistingInternalConstraintValidatorTest.php @covers ::validate
LinkNotExistingInternalConstraintValidatorTest::testValidateFromRoute function core/modules/link/tests/src/Unit/Plugin/Validation/Constraint/LinkNotExistingInternalConstraintValidatorTest.php @covers ::validate
LinkNotExistingInternalConstraintValidatorTest::testValidateFromUri function core/modules/link/tests/src/Unit/Plugin/Validation/Constraint/LinkNotExistingInternalConstraintValidatorTest.php @covers ::validate
LinkNotExistingInternalConstraintValidatorTest::testValidateWithMalformedUri function core/modules/link/tests/src/Unit/Plugin/Validation/Constraint/LinkNotExistingInternalConstraintValidatorTest.php @covers ::validate
LinkNotExistingInternalConstraintValidatorTest::validate function core/modules/link/tests/src/Unit/Plugin/Validation/Constraint/LinkNotExistingInternalConstraintValidatorTest.php Validate the link.
LinkTypeConstraintValidator::validate function core/modules/link/src/Plugin/Validation/Constraint/LinkTypeConstraintValidator.php
LinkWidget::validateTitleElement function core/modules/link/src/Plugin/Field/FieldWidget/LinkWidget.php Form element validation handler for the 'title' element.
LinkWidget::validateTitleNoLink function core/modules/link/src/Plugin/Field/FieldWidget/LinkWidget.php Form element validation handler for the 'title' element.
LinkWidget::validateUriElement function core/modules/link/src/Plugin/Field/FieldWidget/LinkWidget.php Form element validation handler for the 'uri' element.
ListFloatItem::validateAllowedValue function core/modules/options/src/Plugin/Field/FieldType/ListFloatItem.php Checks whether a candidate allowed value is valid.
ListIntegerItem::validateAllowedValue function core/modules/options/src/Plugin/Field/FieldType/ListIntegerItem.php Checks whether a candidate allowed value is valid.
ListItemBase::validateAllowedValue function core/modules/options/src/Plugin/Field/FieldType/ListItemBase.php Checks whether a candidate allowed value is valid.
ListItemBase::validateAllowedValues function core/modules/options/src/Plugin/Field/FieldType/ListItemBase.php #element_validate callback for options field allowed values.
ListPlugin::validateConfigurationForm function core/modules/ckeditor5/src/Plugin/CKEditor5Plugin/ListPlugin.php
ListStringItem::validateAllowedValue function core/modules/options/src/Plugin/Field/FieldType/ListStringItem.php Checks whether a candidate allowed value is valid.
LocaleSettingsForm::validateForm function core/modules/locale/src/Form/LocaleSettingsForm.php Form validation handler.
LockFileValidator::validate function core/modules/package_manager/src/Validator/LockFileValidator.php Checks that the active lock file is unchanged during stage operations.
LockFileValidatorTest::providerValidateStageEvents function core/modules/package_manager/tests/src/Kernel/LockFileValidatorTest.php Data provider for test methods that validate the stage directory.
MachineName::validateMachineName function core/lib/Drupal/Core/Render/Element/MachineName.php Form element validation handler for machine_name elements.
MachineNameTest::validateForm function core/tests/Drupal/KernelTests/Core/Render/Element/MachineNameTest.php Form validation handler.
ManagedFile::validateManagedFile function core/modules/file/src/Element/ManagedFile.php Render API callback: Validates the managed_file element.
ManagedFileTest::validateForm function core/modules/file/tests/src/Kernel/ManagedFileTest.php Form validation handler.
Media::validate function core/modules/media/src/Entity/Media.php
Media::validateConfigurationForm function core/modules/ckeditor5/src/Plugin/CKEditor5Plugin/Media.php
MediaEmbed::validateOptions function core/modules/media/src/Plugin/Filter/MediaEmbed.php Form element validation handler.
MediaLibraryInceptionWidget::elementValidate function core/modules/media_library/tests/modules/media_library_test_widget/src/Plugin/Field/FieldWidget/MediaLibraryInceptionWidget.php
MediaLibrarySelectForm::viewsFormValidate function core/modules/media_library/src/Plugin/views/field/MediaLibrarySelectForm.php
MediaLibraryState::validateRequiredParameters function core/modules/media_library/src/MediaLibraryState.php Validates the required parameters for a new MediaLibraryState object.
MediaLibraryWidget::validateItems function core/modules/media_library/src/Plugin/Field/FieldWidget/MediaLibraryWidget.php Validates that newly selected items can be added to the widget.
MediaLibraryWidget::validateRequired function core/modules/media_library/src/Plugin/Field/FieldWidget/MediaLibraryWidget.php Validates whether the widget is required and contains values.
MediaMappingsConstraintValidator::validate function core/modules/media/src/Plugin/Validation/Constraint/MediaMappingsConstraintValidator.php
MediaSelection::validateReferenceableNewEntities function core/modules/media/src/Plugin/EntityReferenceSelection/MediaSelection.php Validates which newly created entities can be referenced.
MediaSourceBase::validateConfigurationForm function core/modules/media/src/MediaSourceBase.php Form validation handler.
MediaTestConstraintValidator::validate function core/modules/media/tests/modules/media_test_source/src/Plugin/Validation/Constraint/MediaTestConstraintValidator.php
MediaTypeForm::validateForm function core/modules/media/src/MediaTypeForm.php Form validation handler.
MediaTypeValidationTest::testMediaSourceIsValidated function core/modules/media/tests/src/Kernel/MediaTypeValidationTest.php Tests that the media source plugin's existence is validated.
media_filter_format_edit_form_validate function core/modules/media/media.module Validate callback to ensure filter order and allowed_html are compatible.
MemoryBackend::invalidate function core/lib/Drupal/Core/Cache/MemoryBackend.php Marks a cache item as invalid.
MemoryBackend::invalidateAll function core/lib/Drupal/Core/Cache/MemoryBackend.php Marks all cache items as invalid.

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