20 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.
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 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 multipage 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.
template_preprocess_views_view_summary in core/modules/views/views.theme.inc
Prepares variables for views summary templates.
template_preprocess_views_view_summary_unformatted in core/modules/views/views.theme.inc
Prepares variables for unformatted summary view templates.
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.
ViewEditForm::getDisplayDetails in core/modules/views_ui/src/ViewEditForm.php
Helper function to get the display details section of the edit UI.

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