You are here

22 calls to Url::fromUserInput() in Drupal 10

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.
FieldUI::getNextDestination in core/modules/field_ui/src/FieldUI.php
Returns the next redirect path in a multipage sequence.
FieldWebTest::testAlterUrl in core/modules/views/tests/src/Functional/Handler/FieldWebTest.php
Tests rewriting the output to a link.
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.
LocalePathTest::testPathLanguageConfiguration in core/modules/locale/tests/src/Functional/LocalePathTest.php
Tests if a language can be associated with a path alias.
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.
RssFields::getAbsoluteUrl in core/modules/views/src/Plugin/views/row/RssFields.php
Convert a rendered URL string to an absolute URL.
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.
Url::render in core/modules/views/src/Plugin/views/field/Url.php
UrlTest::testLinkXSS in core/modules/system/tests/src/Kernel/Common/UrlTest.php
Confirms that invalid URLs are filtered in link generating functions.
ViewEditForm::getDisplayDetails in core/modules/views_ui/src/ViewEditForm.php
Helper function to get the display details section of the edit UI.
ViewListBuilder::getDisplaysList in core/modules/views_ui/src/ViewListBuilder.php
Gets a list of displays included in the view.
ViewsExposedForm::buildForm in core/modules/views/src/Form/ViewsExposedForm.php
Form constructor.