Search for redirect
- Search 7.x for redirect
- Search 8.9.x for redirect
- Search 10.3.x for redirect
- Search 11.x for redirect
- Other projects
| Title | Object type | File name | Summary |
|---|---|---|---|
| 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::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::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. |
| 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. |
| InstallerRedirectTraitTest | class | core/ |
@coversDefaultClass \Drupal\Core\Installer\InstallerRedirectTrait[[api-linebreak]] |
| InstallerRedirectTraitTest.php | file | core/ |
|
| InstallerRedirectTraitTest::providerShouldRedirectToInstaller | function | core/ |
Data provider for testShouldRedirectToInstaller(). |
| InstallerRedirectTraitTest::testShouldRedirectToInstaller | function | core/ |
@covers ::shouldRedirectToInstaller[[api-linebreak]] @dataProvider providerShouldRedirectToInstaller |
| install_full_redirect_url | function | core/ |
Returns the complete URL redirected to during an installation request. |
| install_redirect_url | function | core/ |
Returns the URL that should be redirected to during an installation request. |
| LocalAwareRedirectResponseTrait | trait | core/ |
Provides a trait which ensures that a URL is safe to redirect to. |
| LocalAwareRedirectResponseTrait.php | file | core/ |
|
| LocalAwareRedirectResponseTrait::$requestContext | property | core/ |
The request context. |
| LocalAwareRedirectResponseTrait::getRequestContext | function | core/ |
Returns the request context. |
| LocalAwareRedirectResponseTrait::isLocal | function | core/ |
Determines whether a path is local. |
| LocalAwareRedirectResponseTrait::setRequestContext | function | core/ |
Sets the request context. |
| LocalRedirectResponse | class | core/ |
Provides a redirect response which cannot redirect to an external URL. |
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.