Search for isValid

  1. Search 7.x for isValid
  2. Search 9.5.x for isValid
  3. Search 8.9.x for isValid
  4. Search 11.x for isValid
  5. Other projects
Title Object type File name Summary
PathValidatorTest::testIsValidWithExternalUrl function core/tests/Drupal/Tests/Core/Path/PathValidatorTest.php Tests the isValid() method for an external URL.
PathValidatorTest::testIsValidWithFailingParameterConverting function core/tests/Drupal/Tests/Core/Path/PathValidatorTest.php Tests the isValid() method with a not working param converting.
PathValidatorTest::testIsValidWithFrontpage function core/tests/Drupal/Tests/Core/Path/PathValidatorTest.php Tests the isValid() method for the frontpage.
PathValidatorTest::testIsValidWithInvalidExternalUrl function core/tests/Drupal/Tests/Core/Path/PathValidatorTest.php Tests the isValid() method with an invalid external URL.
PathValidatorTest::testIsValidWithLinkToAnyPageAccount function core/tests/Drupal/Tests/Core/Path/PathValidatorTest.php Tests the isValid() method with a 'link to any page' permission.
PathValidatorTest::testIsValidWithMethodNotAllowed function core/tests/Drupal/Tests/Core/Path/PathValidatorTest.php @covers ::isValid
@covers ::getPathAttributes
PathValidatorTest::testIsValidWithNone function core/tests/Drupal/Tests/Core/Path/PathValidatorTest.php Tests the isValid() method for <none> (used for jump links).
PathValidatorTest::testIsValidWithNotExistingPath function core/tests/Drupal/Tests/Core/Path/PathValidatorTest.php Tests the isValid() method with a non-existent path.
PathValidatorTest::testIsValidWithoutLinkToAnyPageAccount function core/tests/Drupal/Tests/Core/Path/PathValidatorTest.php Tests the isValid() method without the 'link to any page' permission.
PathValidatorTest::testIsValidWithParamNotConverted function core/tests/Drupal/Tests/Core/Path/PathValidatorTest.php @covers ::isValid
@covers ::getPathAttributes
PathValidatorTest::testIsValidWithPathAlias function core/tests/Drupal/Tests/Core/Path/PathValidatorTest.php Tests the isValid() method with a path alias.
PathValidatorTest::testIsValidWithResourceNotFound function core/tests/Drupal/Tests/Core/Path/PathValidatorTest.php @covers ::isValid
@covers ::getPathAttributes
PerformanceData::$cacheTagIsValidCount property core/tests/Drupal/Tests/PerformanceData.php The number of cache tag validity checks.
PerformanceData::getCacheTagIsValidCount function core/tests/Drupal/Tests/PerformanceData.php Gets the cache tag isValid count.
PerformanceData::setCacheTagIsValidCount function core/tests/Drupal/Tests/PerformanceData.php Sets the cache tag isValid count.
ResourceVersionRouteEnhancer::isValidVersionIdentifier function core/modules/jsonapi/src/Revisions/ResourceVersionRouteEnhancer.php Validates the user input.
SearchPageValidationTest::testBaseRouteIsValid function core/modules/search/tests/src/Kernel/SearchPageValidationTest.php Test that the base route stored in definition is correct.
SettingsConfigValidationTest::testPreviewImagePathIsValidated function core/modules/image/tests/src/Kernel/SettingsConfigValidationTest.php Tests that the preview_image setting must be an existing image file.
SettingsTrayTestBase::assertOffCanvasBlockFormIsValid function core/modules/settings_tray/tests/src/FunctionalJavascript/SettingsTrayTestBase.php Asserts that Off-Canvas block form is valid.
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.
TestToolkit::isValid function core/modules/system/tests/modules/image_test/src/Plugin/ImageToolkit/TestToolkit.php Checks if the image is valid.
ToolbarItemConstraintValidator::isValidToolbarItem function core/modules/ckeditor5/src/Plugin/Validation/Constraint/ToolbarItemConstraintValidator.php Validates the given toolbar item.
UploadedFileInterface::isValid function core/modules/file/src/Upload/UploadedFileInterface.php Returns whether the file was uploaded successfully.
UrlHelper::isValid function core/lib/Drupal/Component/Utility/UrlHelper.php Verifies the syntax of the given URL.
Uuid::isValid function core/lib/Drupal/Component/Uuid/Uuid.php Checks whether a string appears to be in the format of a UUID.
WorkflowValidationTest::testTypePluginIsValidated function core/modules/workflows/tests/src/Kernel/WorkflowValidationTest.php Tests that the workflow type plugin is validated.

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