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
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.
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
StreamWrapperManager::isValidUri function core/lib/Drupal/Core/StreamWrapper/StreamWrapperManager.php
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.
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::KNOWN_UNSUPPORTED_TAGS constant core/modules/ckeditor5/src/Plugin/Validation/Constraint/StyleSensibleElementConstraintValidator.php Tags whose plugins are known to not yet integrate with the Style plugin.
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
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.

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