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
NumericArgumentValidator::validateArgument function core/modules/views/src/Plugin/views/argument_validator/NumericArgumentValidator.php Performs validation for a given argument.
OEmbed::validateConfigurationForm function core/modules/media/src/Plugin/media/Source/OEmbed.php Form validation handler.
OEmbedForm::validateUrl function core/modules/media_library/src/Form/OEmbedForm.php Validates the oEmbed URL.
OEmbedResourceConstraint::$invalidResourceMessage property core/modules/media/src/Plugin/Validation/Constraint/OEmbedResourceConstraint.php The error message if the URL is not a valid oEmbed resource.
OEmbedResourceConstraintValidator class core/modules/media/src/Plugin/Validation/Constraint/OEmbedResourceConstraintValidator.php Validates oEmbed resource URLs.
OEmbedResourceConstraintValidator.php file core/modules/media/src/Plugin/Validation/Constraint/OEmbedResourceConstraintValidator.php
OEmbedResourceConstraintValidator::$logger property core/modules/media/src/Plugin/Validation/Constraint/OEmbedResourceConstraintValidator.php The logger service.
OEmbedResourceConstraintValidator::$resourceFetcher property core/modules/media/src/Plugin/Validation/Constraint/OEmbedResourceConstraintValidator.php The resource fetcher service.
OEmbedResourceConstraintValidator::$urlResolver property core/modules/media/src/Plugin/Validation/Constraint/OEmbedResourceConstraintValidator.php The oEmbed URL resolver service.
OEmbedResourceConstraintValidator::create function core/modules/media/src/Plugin/Validation/Constraint/OEmbedResourceConstraintValidator.php Instantiates a new instance of this class.
OEmbedResourceConstraintValidator::handleException function core/modules/media/src/Plugin/Validation/Constraint/OEmbedResourceConstraintValidator.php Handles exceptions that occur during validation.
OEmbedResourceConstraintValidator::validate function core/modules/media/src/Plugin/Validation/Constraint/OEmbedResourceConstraintValidator.php
OEmbedResourceConstraintValidator::__construct function core/modules/media/src/Plugin/Validation/Constraint/OEmbedResourceConstraintValidator.php Constructs a new OEmbedResourceConstraintValidator.
OEmbedResourceConstraintValidatorTest class core/modules/media/tests/src/Kernel/OEmbedResourceConstraintValidatorTest.php @coversDefaultClass \Drupal\media\Plugin\Validation\Constraint\OEmbedResourceConstraintValidator
OEmbedResourceConstraintValidatorTest.php file core/modules/media/tests/src/Kernel/OEmbedResourceConstraintValidatorTest.php
OEmbedResourceConstraintValidatorTest::$modules property core/modules/media/tests/src/Kernel/OEmbedResourceConstraintValidatorTest.php Modules to enable.
OEmbedResourceConstraintValidatorTest::getValue function core/modules/media/tests/src/Kernel/OEmbedResourceConstraintValidatorTest.php Wraps a media entity in an anonymous class to mock a field value.
OEmbedResourceConstraintValidatorTest::setUp function core/modules/media/tests/src/Kernel/OEmbedResourceConstraintValidatorTest.php
OEmbedResourceConstraintValidatorTest::testValidateEmptySource function core/modules/media/tests/src/Kernel/OEmbedResourceConstraintValidatorTest.php @covers ::validate
OEmbedResourceConstraintValidatorTest::testValidateUrlResolverInvoked function core/modules/media/tests/src/Kernel/OEmbedResourceConstraintValidatorTest.php @covers ::validate
OpCodeCache::invalidate function core/lib/Drupal/Component/Utility/OpCodeCache.php Invalidates a PHP file from a possibly active opcode cache.
OpmlFeedAdd::validateForm function core/modules/aggregator/src/Form/OpmlFeedAdd.php Form validation handler.
OpmlFields::validate function core/modules/views/src/Plugin/views/row/OpmlFields.php Validate that the plugin is correct and can be saved.
OptionsDynamicValuesValidationTest class core/modules/options/tests/src/Functional/OptionsDynamicValuesValidationTest.php Tests the Options field allowed values function.
OptionsDynamicValuesValidationTest.php file core/modules/options/tests/src/Functional/OptionsDynamicValuesValidationTest.php
OptionsDynamicValuesValidationTest::$defaultTheme property core/modules/options/tests/src/Functional/OptionsDynamicValuesValidationTest.php The theme to install as the default for testing.
OptionsDynamicValuesValidationTest::testDynamicAllowedValues function core/modules/options/tests/src/Functional/OptionsDynamicValuesValidationTest.php Test that allowed values function gets the entity.
OptionsWidgetBase::validateElement function core/lib/Drupal/Core/Field/Plugin/Field/FieldWidget/OptionsWidgetBase.php Form validation handler for widget elements.
OrderByTest::testInvalidDirection function core/tests/Drupal/Tests/Core/Database/OrderByTest.php Checks that invalid sort directions in ORDER BY get converted to ASC.
Page::validate function core/modules/views/src/Plugin/views/display/Page.php Validate that the plugin is correct and can be saved.
Page::validateOptionsForm function core/modules/views/src/Plugin/views/display/Page.php Validate the options form.
PagerPluginBase::exposedFormValidate function core/modules/views/src/Plugin/views/pager/PagerPluginBase.php
PagerPluginBase::validateOptionsForm function core/modules/views/src/Plugin/views/pager/PagerPluginBase.php Provide the default form form for validating options
PasswordConfirm::validatePasswordConfirm function core/lib/Drupal/Core/Render/Element/PasswordConfirm.php Validates a password_confirm element.
path.validator service core/core.services.yml Drupal\Core\Path\PathValidator
PathAlias::getCacheTagsToInvalidate function core/modules/path_alias/src/Entity/PathAlias.php Returns the cache tags that should be used to invalidate caches.
PathAliasConstraintValidator class core/modules/path/src/Plugin/Validation/Constraint/PathAliasConstraintValidator.php Constraint validator for changing path aliases in pending revisions.
PathAliasConstraintValidator.php file core/modules/path/src/Plugin/Validation/Constraint/PathAliasConstraintValidator.php
PathAliasConstraintValidator::$entityTypeManager property core/modules/path/src/Plugin/Validation/Constraint/PathAliasConstraintValidator.php The entity type manager.
PathAliasConstraintValidator::create function core/modules/path/src/Plugin/Validation/Constraint/PathAliasConstraintValidator.php Instantiates a new instance of this class.
PathAliasConstraintValidator::validate function core/modules/path/src/Plugin/Validation/Constraint/PathAliasConstraintValidator.php
PathAliasConstraintValidator::__construct function core/modules/path/src/Plugin/Validation/Constraint/PathAliasConstraintValidator.php Creates a new PathAliasConstraintValidator instance.
PathElement::validateMatchedPath function core/lib/Drupal/Core/Render/Element/PathElement.php Form element validation handler for matched_path elements.
PathElementFormTest::validateForm function core/tests/Drupal/KernelTests/Core/Element/PathElementFormTest.php Form validation handler.
PathPluginBase::validate function core/modules/views/src/Plugin/views/display/PathPluginBase.php Validate that the plugin is correct and can be saved.
PathPluginBase::validateOptionsForm function core/modules/views/src/Plugin/views/display/PathPluginBase.php Validate the options form.
PathPluginBase::validatePath function core/modules/views/src/Plugin/views/display/PathPluginBase.php Validates the path of the display.
PathValidator class core/lib/Drupal/Core/Path/PathValidator.php Provides a default path validator and access checker.
PathValidator.php file core/lib/Drupal/Core/Path/PathValidator.php
PathValidator::$accessAwareRouter property core/lib/Drupal/Core/Path/PathValidator.php The access aware router.

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