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
SiteInformationForm::validateForm function core/modules/system/src/Form/SiteInformationForm.php Form validation handler.
SiteSettingsForm::validateForm function core/lib/Drupal/Core/Installer/Form/SiteSettingsForm.php Form validation handler.
SneakySuperset::validateConfigurationForm function core/modules/ckeditor5/tests/modules/ckeditor5_plugin_elements_subset/src/Plugin/CKEditor5Plugin/SneakySuperset.php
SortPluginBase::sortValidate function core/modules/views/src/Plugin/views/sort/SortPluginBase.php
SortPluginBase::validateExposeForm function core/modules/views/src/Plugin/views/sort/SortPluginBase.php Validate the options form.
SortPluginBase::validateOptionsForm function core/modules/views/src/Plugin/views/sort/SortPluginBase.php Simple validate handler.
SourceEditing::validateConfigurationForm function core/modules/ckeditor5/src/Plugin/CKEditor5Plugin/SourceEditing.php
SourceEditingPreventSelfXssConstraintValidator class core/modules/ckeditor5/src/Plugin/Validation/Constraint/SourceEditingPreventSelfXssConstraintValidator.php Ensures Source Editing cannot be configured to allow self-XSS.
SourceEditingPreventSelfXssConstraintValidator.php file core/modules/ckeditor5/src/Plugin/Validation/Constraint/SourceEditingPreventSelfXssConstraintValidator.php
SourceEditingPreventSelfXssConstraintValidator::getRegExForWildCardAttributeName function core/modules/ckeditor5/src/Plugin/Validation/Constraint/SourceEditingPreventSelfXssConstraintValidator.php Computes a regular expression for matching a wildcard attribute name.
SourceEditingPreventSelfXssConstraintValidator::isWildcardAttributeName function core/modules/ckeditor5/src/Plugin/Validation/Constraint/SourceEditingPreventSelfXssConstraintValidator.php Checks whether the given attribute name contains a wildcard, e.g. `data-*`.
SourceEditingPreventSelfXssConstraintValidator::validate function core/modules/ckeditor5/src/Plugin/Validation/Constraint/SourceEditingPreventSelfXssConstraintValidator.php
SourceEditingRedundantTagsConstraintValidator class core/modules/ckeditor5/src/Plugin/Validation/Constraint/SourceEditingRedundantTagsConstraintValidator.php Ensures tags already available via plugin are not be added to Source Editing.
SourceEditingRedundantTagsConstraintValidator.php file core/modules/ckeditor5/src/Plugin/Validation/Constraint/SourceEditingRedundantTagsConstraintValidator.php
SourceEditingRedundantTagsConstraintValidator::pluginsSupplyingTagsMessage function core/modules/ckeditor5/src/Plugin/Validation/Constraint/SourceEditingRedundantTagsConstraintValidator.php Creates a message listing plugins and the overlapping tags they provide.
SourceEditingRedundantTagsConstraintValidator::tagHasAttributeRestrictions function core/modules/ckeditor5/src/Plugin/Validation/Constraint/SourceEditingRedundantTagsConstraintValidator.php Inspects whether the given tag has attribute restrictions.
SourceEditingRedundantTagsConstraintValidator::validate function core/modules/ckeditor5/src/Plugin/Validation/Constraint/SourceEditingRedundantTagsConstraintValidator.php
SourcePluginBase::valid function core/modules/migrate/src/Plugin/migrate/source/SourcePluginBase.php Checks whether the iterator is currently valid.
SpecialAttributesRouteSubscriberTest::providerTestOnRouteBuildingInvalidVariables function core/tests/Drupal/Tests/Core/EventSubscriber/SpecialAttributesRouteSubscriberTest.php Provides a list of routes with invalid route variables.
SpecialAttributesRouteSubscriberTest::providerTestOnRouteBuildingValidVariables function core/tests/Drupal/Tests/Core/EventSubscriber/SpecialAttributesRouteSubscriberTest.php Provides a list of routes with valid route variables.
SpecialAttributesRouteSubscriberTest::testOnRouteBuildingInvalidVariables function core/tests/Drupal/Tests/Core/EventSubscriber/SpecialAttributesRouteSubscriberTest.php Tests the onAlterRoutes method for invalid variables.
SpecialAttributesRouteSubscriberTest::testOnRouteBuildingValidVariables function core/tests/Drupal/Tests/Core/EventSubscriber/SpecialAttributesRouteSubscriberTest.php Tests the onAlterRoutes method for valid variables.
Sql::valid function core/modules/migrate/src/Plugin/migrate/id_map/Sql.php Implementation of \Iterator::valid().
SqlBase::exposedFormValidate function core/modules/views/src/Plugin/views/pager/SqlBase.php
SqlBase::validateOptionsForm function core/modules/views/src/Plugin/views/pager/SqlBase.php Provide the default form for validating options.
StatementEmpty::valid function core/lib/Drupal/Core/Database/StatementEmpty.php
StatementPrefetch::valid function core/lib/Drupal/Core/Database/StatementPrefetch.php
StateTransitionValidation class core/modules/content_moderation/src/StateTransitionValidation.php Validates whether a certain state transition is allowed.
StateTransitionValidation.php file core/modules/content_moderation/src/StateTransitionValidation.php
StateTransitionValidation::$moderationInfo property core/modules/content_moderation/src/StateTransitionValidation.php The moderation information service.
StateTransitionValidation::$possibleTransitions property core/modules/content_moderation/src/StateTransitionValidation.php Stores the possible state transitions.
StateTransitionValidation::getValidTransitions function core/modules/content_moderation/src/StateTransitionValidation.php Gets a list of transitions that are legal for this user on this entity.
StateTransitionValidation::isTransitionValid function core/modules/content_moderation/src/StateTransitionValidation.php Checks if a transition between two states if valid for the given user.
StateTransitionValidation::__construct function core/modules/content_moderation/src/StateTransitionValidation.php Constructs a new StateTransitionValidation.
StateTransitionValidationInterface interface core/modules/content_moderation/src/StateTransitionValidationInterface.php Validates whether a certain state transition is allowed.
StateTransitionValidationInterface.php file core/modules/content_moderation/src/StateTransitionValidationInterface.php
StateTransitionValidationInterface::getValidTransitions function core/modules/content_moderation/src/StateTransitionValidationInterface.php Gets a list of transitions that are legal for this user on this entity.
StateTransitionValidationInterface::isTransitionValid function core/modules/content_moderation/src/StateTransitionValidationInterface.php Checks if a transition between two states if valid for the given user.
StateTransitionValidationTest class core/modules/content_moderation/tests/src/Unit/StateTransitionValidationTest.php @coversDefaultClass \Drupal\content_moderation\StateTransitionValidation
@group content_moderation
StateTransitionValidationTest.php file core/modules/content_moderation/tests/src/Unit/StateTransitionValidationTest.php
StateTransitionValidationTest::$workflow property core/modules/content_moderation/tests/src/Unit/StateTransitionValidationTest.php A test workflow.
StateTransitionValidationTest::setUp function core/modules/content_moderation/tests/src/Unit/StateTransitionValidationTest.php
StateTransitionValidationTest::testUserSensitiveValidTransitions function core/modules/content_moderation/tests/src/Unit/StateTransitionValidationTest.php Verifies user-aware transition validation.
StateTransitionValidationTest::userTransitionsProvider function core/modules/content_moderation/tests/src/Unit/StateTransitionValidationTest.php Data provider for the user transition test.
StaticMapTest::testMapWithInvalidSource function core/modules/migrate/tests/src/Unit/process/StaticMapTest.php Tests when the source is invalid.
StaticMapTest::testMapWithInvalidSourceAndBypass function core/modules/migrate/tests/src/Unit/process/StaticMapTest.php Tests when the source is invalid and bypass is enabled.
StaticMapTest::testMapWithInvalidSourceWithADefaultValue function core/modules/migrate/tests/src/Unit/process/StaticMapTest.php Tests when the source is invalid but there's a default.
StaticMapTest::testMapWithInvalidSourceWithANullDefaultValue function core/modules/migrate/tests/src/Unit/process/StaticMapTest.php Tests when the source is invalid but there's a default value of NULL.
StorableConfigBase::validateValue function core/lib/Drupal/Core/Config/StorableConfigBase.php Validate the values are allowed data types.
StorageComparer::validateSiteUuid function core/lib/Drupal/Core/Config/StorageComparer.php Validates that the system.site::uuid in the source and target match.

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