22 calls to Url::fromUserInput()

BlockEntitySettingTrayForm::getRedirectUrl in core/modules/settings_tray/src/Block/BlockEntitySettingTrayForm.php
Gets the form's redirect URL from 'destination' provide in the request.
BlockHooks::blockBuildLocalActionsBlockAlter in core/modules/block/src/Hook/BlockHooks.php
Implements hook_block_build_BASE_BLOCK_ID_alter().
ConfirmFormHelper::buildCancelLink in core/lib/Drupal/Core/Form/ConfirmFormHelper.php
Builds the cancel link for a confirmation form.
ContactForm::getRedirectUrl in core/modules/contact/src/Entity/ContactForm.php
Returns the \Drupal\Core\Url object for redirect path.
CustomPageExceptionHtmlSubscriber::makeSubrequestToCustomPath in core/lib/Drupal/Core/EventSubscriber/CustomPageExceptionHtmlSubscriber.php
Makes a subrequest to retrieve the custom error page.
DisplayPluginBase::getMoreUrl in core/modules/views/src/Plugin/views/display/DisplayPluginBase.php
Get the more URL for this view.
FieldPluginBase::renderAsLink in core/modules/views/src/Plugin/views/field/FieldPluginBase.php
Render this field as a link, with the info from a fieldset set by the user.
FieldPluginBase::renderText in core/modules/views/src/Plugin/views/field/FieldPluginBase.php
Performs an advanced text render for the item.
FieldUI::getNextDestination in core/modules/field_ui/src/FieldUI.php
Returns the next redirect path in a multi-page sequence.
FormTestRedirectForm::submitForm in core/modules/system/tests/modules/form_test/src/Form/FormTestRedirectForm.php
Form submission handler.
LinkGeneratorTest::testGenerateUrlWithQuotes in core/tests/Drupal/Tests/Core/Utility/LinkGeneratorTest.php
Tests the generate() method with a URL containing double quotes.
MailTest::testRenderedElementsUseAbsolutePaths in core/modules/system/tests/src/Kernel/Mail/MailTest.php
Checks that mails built from render arrays contain absolute paths.
MenuLinkParent::transform in core/modules/migrate/src/Plugin/migrate/process/MenuLinkParent.php
Find the parent link GUID.
MonthDatePluginTest::testMonthDatePlugin in core/modules/views/tests/src/Functional/Plugin/MonthDatePluginTest.php
Tests the Month Date Plugin.
PathAliasListBuilder::buildRow in core/modules/path/src/PathAliasListBuilder.php
Builds a row for an entity in the entity listing.
TestController::modal in core/modules/views/tests/modules/views_test_modal/src/Controller/TestController.php
Renders a link to open the /admin/content view in a modal dialog.
UrlTest::testFromInvalidUserInput in core/tests/Drupal/Tests/Core/UrlTest.php
Tests the fromUserInput method with invalid paths.
UrlTest::testFromUserInput in core/tests/Drupal/Tests/Core/UrlTest.php
Tests the fromUserInput method with valid paths.
ViewAjaxControllerTest::setUp in core/modules/views/tests/src/Unit/Controller/ViewAjaxControllerTest.php
ViewEditForm::getDisplayDetails in core/modules/views_ui/src/ViewEditForm.php
Helper function to get the display details section of the edit UI.
ViewsThemeHooks::preprocessViewsViewSummary in core/modules/views/src/Hook/ViewsThemeHooks.php
Prepares variables for views summary templates.
ViewsThemeHooks::preprocessViewsViewSummaryUnformatted in core/modules/views/src/Hook/ViewsThemeHooks.php
Prepares variables for unformatted summary view templates.

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