Search for valid

  1. Search 7.x for valid
  2. Search 8.9.x for valid
  3. Search 10.3.x for valid
  4. Search 11.x for valid
  5. Other projects
Title Object type File name Summary
StorageComparerInterface::validateSiteUuid function core/lib/Drupal/Core/Config/StorageComparerInterface.php Validates that the system.site::uuid in the source and target match.
StorageCopyTraitTest::testWithInvalidConfiguration function core/tests/Drupal/Tests/Core/Config/StorageCopyTraitTest.php Tests replaceStorageContents() with config with an invalid configuration.
StorageReplaceDataWrapperTest::testInvalidStorage function core/tests/Drupal/KernelTests/Core/Config/Storage/StorageReplaceDataWrapperTest.php Tests an invalid storage.
StorageTest::testCachedFormStorageValidation function core/modules/system/tests/src/Functional/Form/StorageTest.php Tests updating cached form storage during form validation.
StorageTest::testValidation function core/modules/system/tests/src/Functional/Form/StorageTest.php Tests validation when form storage is used.
StreamWrapperManager::isValidScheme function core/lib/Drupal/Core/StreamWrapper/StreamWrapperManager.php Checks that the scheme of a stream URI is valid.
StreamWrapperManager::isValidUri function core/lib/Drupal/Core/StreamWrapper/StreamWrapperManager.php Determines whether the URI has a valid scheme for file API operations.
StreamWrapperManagerInterface::isValidScheme function core/lib/Drupal/Core/StreamWrapper/StreamWrapperManagerInterface.php Checks that the scheme of a stream URI is valid.
StreamWrapperManagerInterface::isValidUri function core/lib/Drupal/Core/StreamWrapper/StreamWrapperManagerInterface.php Determines whether the URI has a valid scheme for file API operations.
StreamWrapperTest::testGetValidStreamScheme function core/tests/Drupal/KernelTests/Core/File/StreamWrapperTest.php Tests the scheme functions.
StubTestTrait::validateStub function core/modules/migrate_drupal/src/Tests/StubTestTrait.php Perform validation on a stub entity.
Style::validateConfigurationForm function core/modules/ckeditor5/src/Plugin/CKEditor5Plugin/Style.php
StylePluginBase::validate function core/modules/views/src/Plugin/views/style/StylePluginBase.php Validate that the plugin is correct and can be saved.
StylePluginBase::validateOptionsForm function core/modules/views/src/Plugin/views/style/StylePluginBase.php Validate the options form.
StylesCombo::validateStylesValue function core/modules/ckeditor/src/Plugin/CKEditorPlugin/StylesCombo.php #element_validate handler for the "styles" element in settingsForm().
StyleSensibleElementConstraintValidator class core/modules/ckeditor5/src/Plugin/Validation/Constraint/StyleSensibleElementConstraintValidator.php Styles can only be specified for HTML5 tags and extra classes.
StyleSensibleElementConstraintValidator.php file core/modules/ckeditor5/src/Plugin/Validation/Constraint/StyleSensibleElementConstraintValidator.php
StyleSensibleElementConstraintValidator::findStyleConflictingPluginLabel function core/modules/ckeditor5/src/Plugin/Validation/Constraint/StyleSensibleElementConstraintValidator.php Finds the plugin with elements that conflict with the style element.
StyleSensibleElementConstraintValidator::intersectionWithClasses function core/modules/ckeditor5/src/Plugin/Validation/Constraint/StyleSensibleElementConstraintValidator.php Checks if there is an intersection on allowed 'class' attribute values.
StyleSensibleElementConstraintValidator::validate function core/modules/ckeditor5/src/Plugin/Validation/Constraint/StyleSensibleElementConstraintValidator.php
SubformState::getLimitValidationErrors function core/lib/Drupal/Core/Form/SubformState.php Retrieves the limited validation error sections.
SubformState::setLimitValidationErrors function core/lib/Drupal/Core/Form/SubformState.php Sets the limited validation error sections.
SubformStateTest::testGetLimitValidationErrors function core/tests/Drupal/Tests/Core/Form/SubformStateTest.php @covers ::getLimitValidationErrors
SubformStateTest::testSetLimitValidationErrors function core/tests/Drupal/Tests/Core/Form/SubformStateTest.php @covers ::setLimitValidationErrors
SwitchShortcutSet::validateForm function core/modules/shortcut/src/Form/SwitchShortcutSet.php Form validation handler.
SystemBrandingOffCanvasForm::validateConfigurationForm function core/modules/system/src/Form/SystemBrandingOffCanvasForm.php Form validation handler.
SystemConfigSubscriber::onConfigImporterValidateNotEmpty function core/modules/system/src/SystemConfigSubscriber.php Checks that the configuration synchronization is valid.
SystemConfigSubscriber::onConfigImporterValidateSiteUUID function core/modules/system/src/SystemConfigSubscriber.php Checks that the configuration synchronization is valid.
SystemMenuOffCanvasForm::validateConfigurationForm function core/modules/system/src/Form/SystemMenuOffCanvasForm.php Form validation handler.
Table::validateTable function core/lib/Drupal/Core/Render/Element/Table.php #element_validate callback for #type 'table'.
TagsTest::$validTags property core/tests/Drupal/Tests/Core/Common/TagsTest.php
Tasks::validateDatabaseSettings function core/lib/Drupal/Core/Database/Install/Tasks.php Validates driver specific configuration settings.
TaxonomyIndexTid::$validated_exposed_input property core/modules/taxonomy/src/Plugin/views/filter/TaxonomyIndexTid.php Stores the exposed input for this filter.
TaxonomyIndexTid::validateExposed function core/modules/taxonomy/src/Plugin/views/filter/TaxonomyIndexTid.php Validate the exposed handler form.
TaxonomyIndexTid::valueValidate function core/modules/taxonomy/src/Plugin/views/filter/TaxonomyIndexTid.php Validate the options form.
TaxonomyTermHierarchyConstraintValidator class core/modules/taxonomy/src/Plugin/Validation/Constraint/TaxonomyTermHierarchyConstraintValidator.php Constraint validator for changing term parents in pending revisions.
TaxonomyTermHierarchyConstraintValidator.php file core/modules/taxonomy/src/Plugin/Validation/Constraint/TaxonomyTermHierarchyConstraintValidator.php
TaxonomyTermHierarchyConstraintValidator::$entityTypeManager property core/modules/taxonomy/src/Plugin/Validation/Constraint/TaxonomyTermHierarchyConstraintValidator.php The entity type manager.
TaxonomyTermHierarchyConstraintValidator::create function core/modules/taxonomy/src/Plugin/Validation/Constraint/TaxonomyTermHierarchyConstraintValidator.php Instantiates a new instance of this class.
TaxonomyTermHierarchyConstraintValidator::validate function core/modules/taxonomy/src/Plugin/Validation/Constraint/TaxonomyTermHierarchyConstraintValidator.php
TaxonomyTermHierarchyConstraintValidator::__construct function core/modules/taxonomy/src/Plugin/Validation/Constraint/TaxonomyTermHierarchyConstraintValidator.php Creates a new TaxonomyTermHierarchyConstraintValidator instance.
taxonomy_post_update_clear_views_argument_validator_plugins_cache function core/modules/taxonomy/taxonomy.post_update.php Clear the cache after deprecating Term views argument validator.
TemporaryJsonapiFileFieldUploader::getUploadValidators function core/modules/jsonapi/src/Controller/TemporaryJsonapiFileFieldUploader.php Retrieves the upload validators for a field definition.
TemporaryJsonapiFileFieldUploader::validate function core/modules/jsonapi/src/Controller/TemporaryJsonapiFileFieldUploader.php Validates the file.
TemporaryJsonapiFileFieldUploader::validateAndParseContentDispositionHeader function core/modules/jsonapi/src/Controller/TemporaryJsonapiFileFieldUploader.php Validates and extracts the filename from the Content-Disposition header.
TermForm::validateForm function core/modules/taxonomy/src/TermForm.php Button-level validation handlers are highly discouraged for entity forms,
as they will prevent entity validation from running. If the entity is going
to be saved during the form submission, this method should be manually
invoked from the button-level…
TermHierarchyValidationTest class core/modules/taxonomy/tests/src/Kernel/TermHierarchyValidationTest.php Tests handling of pending revisions.
TermHierarchyValidationTest.php file core/modules/taxonomy/tests/src/Kernel/TermHierarchyValidationTest.php
TermHierarchyValidationTest::$modules property core/modules/taxonomy/tests/src/Kernel/TermHierarchyValidationTest.php Modules to enable.
TermHierarchyValidationTest::setUp function core/modules/taxonomy/tests/src/Kernel/TermHierarchyValidationTest.php

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