10 calls to UrlHelper::isValid() in Drupal 10
- DbLogController::createLink in core/
modules/ dblog/ src/ Controller/ DbLogController.php - Creates a Link object if the provided URI is valid.
- Endpoint::__construct in core/
modules/ media/ src/ OEmbed/ Endpoint.php - Endpoint constructor.
- PathValidator::getUrl in core/
lib/ Drupal/ Core/ Path/ PathValidator.php - Helper for getUrlIfValid() and getUrlIfValidWithoutAccessCheck().
- Provider::__construct in core/
modules/ media/ src/ OEmbed/ Provider.php - Provider constructor.
- Url::validateUrl in core/
lib/ Drupal/ Core/ Render/ Element/ Url.php - Form element validation handler for #type 'url'.
- UrlHelperTest::testInvalidAbsolute in core/
tests/ Drupal/ Tests/ Component/ Utility/ UrlHelperTest.php - Tests invalid absolute URLs.
- UrlHelperTest::testInvalidRelative in core/
tests/ Drupal/ Tests/ Component/ Utility/ UrlHelperTest.php - Tests invalid relative URLs.
- UrlHelperTest::testValidAbsolute in core/
tests/ Drupal/ Tests/ Component/ Utility/ UrlHelperTest.php - Tests valid absolute URLs.
- UrlHelperTest::testValidRelative in core/
tests/ Drupal/ Tests/ Component/ Utility/ UrlHelperTest.php - Tests valid relative URLs.
- UrlTest::testDrupalParseUrl in core/
modules/ system/ tests/ src/ Kernel/ Common/ UrlTest.php - Tests UrlHelper::parse().