Search for getRedirect

  1. Search 7.x for getRedirect
  2. Search 9.5.x for getRedirect
  3. Search 8.9.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 \Drupal\Core\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 \Drupal\Core\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
EntityDeleteFormTrait::getRedirectUrl function core/lib/Drupal/Core/Entity/EntityDeleteFormTrait.php Returns the URL where the user should be redirected after deletion.
FormState::getRedirect function core/lib/Drupal/Core/Form/FormState.php
FormStateDecoratorBase::getRedirect function core/lib/Drupal/Core/Form/FormStateDecoratorBase.php
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.
NavigationSectionStorage::getRedirectUrl function core/modules/navigation/src/Plugin/SectionStorage/NavigationSectionStorage.php
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
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.
VariationCache::getRedirectChain function core/lib/Drupal/Core/Cache/VariationCache.php Performs a full get, returning every step of the way.

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