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 10.3.x for valid
  5. Other projects
Title Object type File name Summary
LibraryDiscoveryParserTest::testInvalidLibrariesFile function core/tests/Drupal/Tests/Core/Asset/LibraryDiscoveryParserTest.php Tests that an exception is thrown when a libraries file couldn't be parsed.
LibraryDiscoveryTest::$cacheTagsInvalidator property core/tests/Drupal/Tests/Core/Asset/LibraryDiscoveryTest.php The cache tags invalidator.
LinkAccessConstraintValidator class core/modules/link/src/Plugin/Validation/Constraint/LinkAccessConstraintValidator.php Validates the LinkAccess constraint.
LinkAccessConstraintValidator.php file core/modules/link/src/Plugin/Validation/Constraint/LinkAccessConstraintValidator.php
LinkAccessConstraintValidator::$current_user property core/modules/link/src/Plugin/Validation/Constraint/LinkAccessConstraintValidator.php
LinkAccessConstraintValidator::create function core/modules/link/src/Plugin/Validation/Constraint/LinkAccessConstraintValidator.php Instantiates a new instance of this class.
LinkAccessConstraintValidator::validate function core/modules/link/src/Plugin/Validation/Constraint/LinkAccessConstraintValidator.php
LinkAccessConstraintValidator::__construct function core/modules/link/src/Plugin/Validation/Constraint/LinkAccessConstraintValidator.php Constructs an instance of the LinkAccessConstraintValidator class.
LinkAccessConstraintValidatorTest class core/modules/link/tests/src/Unit/Plugin/Validation/Constraint/LinkAccessConstraintValidatorTest.php Tests the LinkAccessConstraintValidator validator.
LinkAccessConstraintValidatorTest.php file core/modules/link/tests/src/Unit/Plugin/Validation/Constraint/LinkAccessConstraintValidatorTest.php
LinkAccessConstraintValidatorTest::providerValidate function core/modules/link/tests/src/Unit/Plugin/Validation/Constraint/LinkAccessConstraintValidatorTest.php Data provider for LinkAccessConstraintValidator::validate().
LinkAccessConstraintValidatorTest::testValidate function core/modules/link/tests/src/Unit/Plugin/Validation/Constraint/LinkAccessConstraintValidatorTest.php Tests the access validation constraint for links.
LinkCollection::validKey function core/modules/jsonapi/src/JsonApiResource/LinkCollection.php Ensures that a link key is valid.
LinkExternalProtocolsConstraintValidator class core/modules/link/src/Plugin/Validation/Constraint/LinkExternalProtocolsConstraintValidator.php Validates the LinkExternalProtocols constraint.
LinkExternalProtocolsConstraintValidator.php file core/modules/link/src/Plugin/Validation/Constraint/LinkExternalProtocolsConstraintValidator.php
LinkExternalProtocolsConstraintValidator::validate function core/modules/link/src/Plugin/Validation/Constraint/LinkExternalProtocolsConstraintValidator.php
LinkExternalProtocolsConstraintValidatorTest class core/modules/link/tests/src/Unit/Plugin/Validation/Constraint/LinkExternalProtocolsConstraintValidatorTest.php @coversDefaultClass \Drupal\link\Plugin\Validation\Constraint\LinkExternalProtocolsConstraintValidator
@group Link
LinkExternalProtocolsConstraintValidatorTest.php file core/modules/link/tests/src/Unit/Plugin/Validation/Constraint/LinkExternalProtocolsConstraintValidatorTest.php
LinkExternalProtocolsConstraintValidatorTest::providerValidate function core/modules/link/tests/src/Unit/Plugin/Validation/Constraint/LinkExternalProtocolsConstraintValidatorTest.php Data provider for ::testValidate.
LinkExternalProtocolsConstraintValidatorTest::testValidate function core/modules/link/tests/src/Unit/Plugin/Validation/Constraint/LinkExternalProtocolsConstraintValidatorTest.php @covers ::validate
@dataProvider providerValidate
@runInSeparateProcess
LinkExternalProtocolsConstraintValidatorTest::testValidateIgnoresInternalUrls function core/modules/link/tests/src/Unit/Plugin/Validation/Constraint/LinkExternalProtocolsConstraintValidatorTest.php @covers ::validate
LinkExternalProtocolsConstraintValidatorTest::testValidateWithMalformedUri function core/modules/link/tests/src/Unit/Plugin/Validation/Constraint/LinkExternalProtocolsConstraintValidatorTest.php @covers ::validate
LinkFieldTest::assertInvalidEntries function core/modules/link/tests/src/Functional/LinkFieldTest.php Asserts that invalid URLs cannot be submitted.
LinkFieldTest::assertValidEntries function core/modules/link/tests/src/Functional/LinkFieldTest.php Asserts that valid URLs can be submitted.
LinkFieldTest::doTestURLValidation function core/modules/link/tests/src/Functional/LinkFieldTest.php Tests link field URL validation.
LinkFieldTest::testLinkWidgetCaughtExceptionEditingInvalidUrl function core/modules/link/tests/src/Functional/LinkFieldTest.php Test link widget exception handled if link uri value is invalid.
LinkFormatter::$pathValidator property core/modules/link/src/Plugin/Field/FieldFormatter/LinkFormatter.php The path validator service.
LinkItemUrlValidationTest class core/modules/link/tests/src/Kernel/LinkItemUrlValidationTest.php Tests link field validation.
LinkItemUrlValidationTest.php file core/modules/link/tests/src/Kernel/LinkItemUrlValidationTest.php
LinkItemUrlValidationTest::$modules property core/modules/link/tests/src/Kernel/LinkItemUrlValidationTest.php Modules to install.
LinkItemUrlValidationTest::getTestLinks function core/modules/link/tests/src/Kernel/LinkItemUrlValidationTest.php Builds an array of links to test.
LinkItemUrlValidationTest::testExternalLinkValidation function core/modules/link/tests/src/Kernel/LinkItemUrlValidationTest.php Tests link validation.
LinkNotExistingInternalConstraintValidator class core/modules/link/src/Plugin/Validation/Constraint/LinkNotExistingInternalConstraintValidator.php Validates the LinkNotExistingInternal constraint.
LinkNotExistingInternalConstraintValidator.php file core/modules/link/src/Plugin/Validation/Constraint/LinkNotExistingInternalConstraintValidator.php
LinkNotExistingInternalConstraintValidator::validate function core/modules/link/src/Plugin/Validation/Constraint/LinkNotExistingInternalConstraintValidator.php
LinkNotExistingInternalConstraintValidatorTest class core/modules/link/tests/src/Unit/Plugin/Validation/Constraint/LinkNotExistingInternalConstraintValidatorTest.php @coversDefaultClass \Drupal\link\Plugin\Validation\Constraint\LinkNotExistingInternalConstraintValidator
@group Link
LinkNotExistingInternalConstraintValidatorTest.php file core/modules/link/tests/src/Unit/Plugin/Validation/Constraint/LinkNotExistingInternalConstraintValidatorTest.php
LinkNotExistingInternalConstraintValidatorTest::testValidateFromNonExistingRoute function core/modules/link/tests/src/Unit/Plugin/Validation/Constraint/LinkNotExistingInternalConstraintValidatorTest.php @covers ::validate
LinkNotExistingInternalConstraintValidatorTest::testValidateFromRoute function core/modules/link/tests/src/Unit/Plugin/Validation/Constraint/LinkNotExistingInternalConstraintValidatorTest.php @covers ::validate
LinkNotExistingInternalConstraintValidatorTest::testValidateFromUri function core/modules/link/tests/src/Unit/Plugin/Validation/Constraint/LinkNotExistingInternalConstraintValidatorTest.php @covers ::validate
LinkNotExistingInternalConstraintValidatorTest::testValidateWithMalformedUri function core/modules/link/tests/src/Unit/Plugin/Validation/Constraint/LinkNotExistingInternalConstraintValidatorTest.php @covers ::validate
LinkNotExistingInternalConstraintValidatorTest::validate function core/modules/link/tests/src/Unit/Plugin/Validation/Constraint/LinkNotExistingInternalConstraintValidatorTest.php Validate the link.
LinkTypeConstraintValidator class core/modules/link/src/Plugin/Validation/Constraint/LinkTypeConstraintValidator.php Constraint validator for links receiving data allowed by its settings.
LinkTypeConstraintValidator.php file core/modules/link/src/Plugin/Validation/Constraint/LinkTypeConstraintValidator.php
LinkTypeConstraintValidator::validate function core/modules/link/src/Plugin/Validation/Constraint/LinkTypeConstraintValidator.php
LinkUriTest::providerTestDisablingRouteValidation function core/modules/menu_link_content/tests/src/Kernel/Plugin/migrate/process/LinkUriTest.php Provides test cases for LinkUriTest::testDisablingRouteValidation().
LinkUriTest::testDisablingRouteValidation function core/modules/menu_link_content/tests/src/Kernel/Plugin/migrate/process/LinkUriTest.php Tests disabling route validation in LinkUri::transform().
LinkWidget::validateTitleElement function core/modules/link/src/Plugin/Field/FieldWidget/LinkWidget.php Form element validation handler for the 'title' element.
LinkWidget::validateTitleNoLink function core/modules/link/src/Plugin/Field/FieldWidget/LinkWidget.php Form element validation handler for the 'title' element.
LinkWidget::validateUriElement function core/modules/link/src/Plugin/Field/FieldWidget/LinkWidget.php Form element validation handler for the 'uri' element.

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