Search for valid

  1. Search 7.x for valid
  2. Search 9.5.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.
SortPluginBase::sortValidate function core/modules/views/src/Plugin/views/sort/SortPluginBase.php
SortPluginBase::validateOptionsForm function core/modules/views/src/Plugin/views/sort/SortPluginBase.php Simple validate handler
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 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::testDeprecatedEntityParameter function core/modules/content_moderation/tests/src/Unit/StateTransitionValidationTest.php @expectedDeprecation Omitting the $entity parameter from Drupal\content_moderation\StateTransitionValidation::isTransitionValid is deprecated and will be required in Drupal 9.0.0.
@group legacy
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.
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 Test the scheme functions.
StubTestTrait::validateStub function core/modules/migrate_drupal/src/Tests/StubTestTrait.php Perform validation on a stub entity.
StylePluginBase::validate function core/modules/views/src/Plugin/views/style/StylePluginBase.php Validate that the plugin is correct and can be saved.

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