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
NullBackend::invalidate function core/lib/Drupal/Core/Cache/NullBackend.php Marks a cache item as invalid.
NullBackend::invalidateAll function core/lib/Drupal/Core/Cache/NullBackend.php Marks all cache items as invalid.
NullBackend::invalidateMultiple function core/lib/Drupal/Core/Cache/NullBackend.php Marks cache items as invalid.
NullCoalesceTest::testExceptionOnInvalidValue function core/modules/migrate/tests/src/Unit/process/NullCoalesceTest.php Tests that an exception is thrown for a non-array value.
NullIdMap::valid function core/modules/migrate/src/Plugin/migrate/id_map/NullIdMap.php
Number::validateNumber function core/lib/Drupal/Core/Render/Element/Number.php Form element validation handler for #type 'number'.
Number::validStep function core/lib/Drupal/Component/Utility/Number.php Verifies that a number is a multiple of a given step.
NumberTest::providerTestValidStep function core/tests/Drupal/Tests/Component/Utility/NumberTest.php Provides data for self::testNumberStep().
NumberTest::providerTestValidStepOffset function core/tests/Drupal/Tests/Component/Utility/NumberTest.php Data provider for \Drupal\Tests\Component\Utility\NumberTest::testValidStepOffset().
NumberTest::testValidStep function core/tests/Drupal/Tests/Component/Utility/NumberTest.php Tests Number::validStep() without offset.
NumberTest::testValidStepOffset function core/tests/Drupal/Tests/Component/Utility/NumberTest.php Tests Number::validStep() with offset.
NumericArgumentValidator class core/modules/views/src/Plugin/views/argument_validator/NumericArgumentValidator.php Validate whether an argument is numeric or not.
NumericArgumentValidator.php file core/modules/views/src/Plugin/views/argument_validator/NumericArgumentValidator.php
NumericArgumentValidator::getContextDefinition function core/modules/views/src/Plugin/views/argument_validator/NumericArgumentValidator.php Returns a context definition for this argument.
NumericArgumentValidator::validateArgument function core/modules/views/src/Plugin/views/argument_validator/NumericArgumentValidator.php Performs validation for a given argument.
NumericItemBase::validateMinAndMaxConfig function core/lib/Drupal/Core/Field/Plugin/Field/FieldType/NumericItemBase.php Validates that the minimum value is less than the maximum.
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 install.
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.
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/Kernel/OptionsDynamicValuesValidationTest.php Tests the Options field allowed values function.
OptionsDynamicValuesValidationTest.php file core/modules/options/tests/src/Kernel/OptionsDynamicValuesValidationTest.php
OptionsDynamicValuesValidationTest::$entity property core/modules/options/tests/src/Kernel/OptionsDynamicValuesValidationTest.php The created entity.
OptionsDynamicValuesValidationTest::$modules property core/modules/options/tests/src/Kernel/OptionsDynamicValuesValidationTest.php Modules to install.
OptionsDynamicValuesValidationTest::$test property core/modules/options/tests/src/Kernel/OptionsDynamicValuesValidationTest.php Test data.
OptionsDynamicValuesValidationTest::setUp function core/modules/options/tests/src/Kernel/OptionsDynamicValuesValidationTest.php Set the default field storage backend for fields created during tests.
OptionsDynamicValuesValidationTest::testDynamicAllowedValues function core/modules/options/tests/src/Kernel/OptionsDynamicValuesValidationTest.php Tests 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 for validating options.

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