Search for getRedirect

  1. Search 7.x for getRedirect
  2. Search 9.5.x for getRedirect
  3. Search 10.3.x for getRedirect
  4. Search 11.x for getRedirect
  5. Other projects
Title Object type File name Summary
BlockEntitySettingTrayForm::getRedirectUrl function core/modules/settings_tray/src/Block/BlockEntitySettingTrayForm.php Gets the form's redirect URL from 'destination' provide in the request.
ContactForm::getRedirectPath function core/modules/contact/src/Entity/ContactForm.php Returns the path for redirect.
ContactForm::getRedirectUrl function core/modules/contact/src/Entity/ContactForm.php Returns the url object for redirect path.
ContactFormInterface::getRedirectPath function core/modules/contact/src/ContactFormInterface.php Returns the path for redirect.
ContactFormInterface::getRedirectUrl function core/modules/contact/src/ContactFormInterface.php Returns the url object for redirect path.
DefaultsSectionStorage::getRedirectUrl function core/modules/layout_builder/src/Plugin/SectionStorage/DefaultsSectionStorage.php Gets the URL used when redirecting away from the Layout Builder UI.
DeleteForm::getRedirectUrl function core/modules/comment/src/Form/DeleteForm.php Returns the URL where the user should be redirected after deletion.
EntityDeleteFormTrait::getRedirectUrl function core/lib/Drupal/Core/Entity/EntityDeleteFormTrait.php Returns the URL where the user should be redirected after deletion.
FeedDeleteForm::getRedirectUrl function core/modules/aggregator/src/Form/FeedDeleteForm.php Returns the URL where the user should be redirected after deletion.
FormState::getRedirect function core/lib/Drupal/Core/Form/FormState.php Gets the value to use for redirecting after the form has been executed.
FormStateDecoratorBase::getRedirect function core/lib/Drupal/Core/Form/FormStateDecoratorBase.php Gets the value to use for redirecting after the form has been executed.
FormStateDecoratorBaseTest::providerGetRedirect function core/tests/Drupal/Tests/Core/Form/FormStateDecoratorBaseTest.php Provides data to self::testGetRedirect().
FormStateDecoratorBaseTest::testGetRedirect function core/tests/Drupal/Tests/Core/Form/FormStateDecoratorBaseTest.php @covers ::getRedirect
FormStateInterface::getRedirect function core/lib/Drupal/Core/Form/FormStateInterface.php Gets the value to use for redirecting after the form has been executed.
FormStateTest::providerTestGetRedirect function core/tests/Drupal/Tests/Core/Form/FormStateTest.php Provides test data for testing the getRedirect() method.
FormStateTest::testGetRedirect function core/tests/Drupal/Tests/Core/Form/FormStateTest.php Tests the getRedirect() method.
MenuLinkContentDeleteForm::getRedirectUrl function core/modules/menu_link_content/src/Form/MenuLinkContentDeleteForm.php Returns the URL where the user should be redirected after deletion.
OverridesSectionStorage::getRedirectUrl function core/modules/layout_builder/src/Plugin/SectionStorage/OverridesSectionStorage.php Gets the URL used when redirecting away from the Layout Builder UI.
RedirectDestinationTrait::getRedirectDestination function core/lib/Drupal/Core/Routing/RedirectDestinationTrait.php Returns the redirect destination service.
SectionStorageInterface::getRedirectUrl function core/modules/layout_builder/src/SectionStorageInterface.php Gets the URL used when redirecting away from the Layout Builder UI.
ShortcutDeleteForm::getRedirectUrl function core/modules/shortcut/src/Form/ShortcutDeleteForm.php Returns the URL where the user should be redirected after deletion.
SimpleConfigSectionStorage::getRedirectUrl function core/modules/layout_builder/tests/modules/layout_builder_test/src/Plugin/SectionStorage/SimpleConfigSectionStorage.php Gets the URL used when redirecting away from the Layout Builder UI.
TermDeleteForm::getRedirectUrl function core/modules/taxonomy/src/Form/TermDeleteForm.php Returns the URL where the user should be redirected after deletion.
TestStateBasedSectionStorage::getRedirectUrl function core/modules/layout_builder/tests/modules/layout_builder_test/src/Plugin/SectionStorage/TestStateBasedSectionStorage.php Gets the URL used when redirecting away from the Layout Builder UI.

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