Search for redirect
- Search 7.x for redirect
 - Search 9.5.x for redirect
 - Search 8.9.x for redirect
 - Search 11.x for redirect
 - Other projects
 
| Title | Object type | File name | Summary | 
|---|---|---|---|
| FormBase::redirect | function | core/ | 
                                                                                        Returns a redirect response object for the specified route. | 
| FormBuilder::redirectForm | function | core/ | 
                                                                                        Redirects the user to a URL after a form has been processed. | 
| FormBuilderTest::testHandleRedirectWithResponse | function | core/ | 
                                                                                        Tests the handling of a redirect when FormStateInterface::$response exists. | 
| FormState::$no_redirect | property | core/ | 
                                                                                        If set to TRUE the form will NOT perform a redirect. | 
| FormState::$redirect | property | core/ | 
                                                                                        Used to redirect the form on submission. | 
| FormState::disableRedirect | function | core/ | 
                                                                                        Prevents the form from redirecting. | 
| FormState::getRedirect | function | core/ | 
                                                                                        Gets the value to use for redirecting after the form has been executed. | 
| FormState::isRedirectDisabled | function | core/ | 
                                                                                        Determines if redirecting has been prevented. | 
| FormState::setRedirect | function | core/ | 
                                                                                        Sets the redirect for the form. | 
| FormState::setRedirectUrl | function | core/ | 
                                                                                        Sets the redirect URL for the form. | 
| FormStateDecoratorBase::disableRedirect | function | core/ | 
                                                                                        Prevents the form from redirecting. | 
| FormStateDecoratorBase::getRedirect | function | core/ | 
                                                                                        Gets the value to use for redirecting after the form has been executed. | 
| FormStateDecoratorBase::isRedirectDisabled | function | core/ | 
                                                                                        Determines if redirecting has been prevented. | 
| FormStateDecoratorBase::setRedirect | function | core/ | 
                                                                                        Sets the redirect for the form. | 
| FormStateDecoratorBase::setRedirectUrl | function | core/ | 
                                                                                        Sets the redirect URL for the form. | 
| FormStateDecoratorBaseTest::providerGetRedirect | function | core/ | 
                                                                                        Provides data to self::testGetRedirect(). | 
| FormStateDecoratorBaseTest::testDisableRedirect | function | core/ | 
                                                                                        @covers ::disableRedirect[[api-linebreak]] | 
| FormStateDecoratorBaseTest::testGetRedirect | function | core/ | 
                                                                                        @covers ::getRedirect[[api-linebreak]] | 
| FormStateDecoratorBaseTest::testIsRedirectDisabled | function | core/ | 
                                                                                        @covers ::isRedirectDisabled[[api-linebreak]] | 
| FormStateDecoratorBaseTest::testSetRedirect | function | core/ | 
                                                                                        @covers ::setRedirect[[api-linebreak]] | 
| FormStateDecoratorBaseTest::testSetRedirectUrl | function | core/ | 
                                                                                        @covers ::setRedirectUrl[[api-linebreak]] | 
| FormStateInterface::disableRedirect | function | core/ | 
                                                                                        Prevents the form from redirecting. | 
| FormStateInterface::getRedirect | function | core/ | 
                                                                                        Gets the value to use for redirecting after the form has been executed. | 
| FormStateInterface::isRedirectDisabled | function | core/ | 
                                                                                        Determines if redirecting has been prevented. | 
| FormStateInterface::setRedirect | function | core/ | 
                                                                                        Sets the redirect for the form. | 
| FormStateInterface::setRedirectUrl | function | core/ | 
                                                                                        Sets the redirect URL for the form. | 
| FormStateTest::providerTestGetRedirect | function | core/ | 
                                                                                        Provides test data for testing the getRedirect() method. | 
| FormStateTest::testGetRedirect | function | core/ | 
                                                                                        Tests the getRedirect() method. | 
| FormSubmitter::$redirectResponseSubscriber | property | core/ | 
                                                                                        The redirect response subscriber. | 
| FormSubmitter::redirectForm | function | core/ | 
                                                                                        Redirects the user to a URL after a form has been processed. | 
| FormSubmitterInterface::redirectForm | function | core/ | 
                                                                                        Redirects the user to a URL after a form has been processed. | 
| FormSubmitterTest::$redirectResponseSubscriber | property | core/ | 
                                                                                        |
| FormSubmitterTest::providerTestRedirectWithUrl | function | core/ | 
                                                                                        Provides test data for testing the redirectForm() method with a route name. | 
| FormSubmitterTest::testHandleFormSubmissionNoRedirect | function | core/ | 
                                                                                        @covers ::doSubmitForm[[api-linebreak]] | 
| FormSubmitterTest::testRedirectWithNull | function | core/ | 
                                                                                        Tests the redirectForm() method when the redirect is NULL. | 
| FormSubmitterTest::testRedirectWithoutResult | function | core/ | 
                                                                                        Tests the redirectForm() method when no redirect is expected. | 
| FormSubmitterTest::testRedirectWithResponseObject | function | core/ | 
                                                                                        Tests the redirectForm() method with a response object. | 
| FormSubmitterTest::testRedirectWithUrl | function | core/ | 
                                                                                        Tests redirectForm() when a redirect is a Url object. | 
| FormTestBase::$redirectResponseSubscriber | property | core/ | 
                                                                                        |
| FormTestRedirectForm | class | core/ | 
                                                                                        Form builder to detect form redirect. | 
| FormTestRedirectForm.php | file | core/ | 
                                                                                        |
| FormTestRedirectForm::buildForm | function | core/ | 
                                                                                        Form constructor. | 
| FormTestRedirectForm::getFormId | function | core/ | 
                                                                                        Returns a unique string identifying the form. | 
| FormTestRedirectForm::submitForm | function | core/ | 
                                                                                        Form submission handler. | 
| InstallerRedirectTrait | trait | core/ | 
                                                                                        Provides methods for checking if Drupal is already installed. | 
| InstallerRedirectTrait.php | file | core/ | 
                                                                                        |
| InstallerRedirectTrait::isCli | function | core/ | 
                                                                                        Returns whether the current PHP process runs on CLI. | 
| InstallerRedirectTrait::shouldRedirectToInstaller | function | core/ | 
                                                                                        Determines if an exception handler should redirect to the installer. | 
| InstallerRedirectTraitMockableClass | class | core/ | 
                                                                                        A class using the InstallerRedirectTrait for mocking purposes. | 
| InstallerRedirectTraitTest | class | core/ | 
                                                                                        @coversDefaultClass \Drupal\Core\Installer\InstallerRedirectTrait[[api-linebreak]] | 
Pagination
- Previous page
 - Page 2
 - Next page
 
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.