You are here

public function FakeAuthorizationController::createAccountForm in Lingotek Translation 8

Same name and namespace in other branches
  1. 8.2 tests/modules/lingotek_test/src/Controller/FakeAuthorizationController.php \Drupal\lingotek_test\Controller\FakeAuthorizationController::createAccountForm()
  2. 4.0.x tests/modules/lingotek_test/src/Controller/FakeAuthorizationController.php \Drupal\lingotek_test\Controller\FakeAuthorizationController::createAccountForm()
  3. 3.0.x tests/modules/lingotek_test/src/Controller/FakeAuthorizationController.php \Drupal\lingotek_test\Controller\FakeAuthorizationController::createAccountForm()
  4. 3.1.x tests/modules/lingotek_test/src/Controller/FakeAuthorizationController.php \Drupal\lingotek_test\Controller\FakeAuthorizationController::createAccountForm()
  5. 3.2.x tests/modules/lingotek_test/src/Controller/FakeAuthorizationController.php \Drupal\lingotek_test\Controller\FakeAuthorizationController::createAccountForm()
  6. 3.3.x tests/modules/lingotek_test/src/Controller/FakeAuthorizationController.php \Drupal\lingotek_test\Controller\FakeAuthorizationController::createAccountForm()
  7. 3.4.x tests/modules/lingotek_test/src/Controller/FakeAuthorizationController.php \Drupal\lingotek_test\Controller\FakeAuthorizationController::createAccountForm()
  8. 3.5.x tests/modules/lingotek_test/src/Controller/FakeAuthorizationController.php \Drupal\lingotek_test\Controller\FakeAuthorizationController::createAccountForm()
  9. 3.6.x tests/modules/lingotek_test/src/Controller/FakeAuthorizationController.php \Drupal\lingotek_test\Controller\FakeAuthorizationController::createAccountForm()
  10. 3.7.x tests/modules/lingotek_test/src/Controller/FakeAuthorizationController.php \Drupal\lingotek_test\Controller\FakeAuthorizationController::createAccountForm()
  11. 3.8.x tests/modules/lingotek_test/src/Controller/FakeAuthorizationController.php \Drupal\lingotek_test\Controller\FakeAuthorizationController::createAccountForm()
1 string reference to 'FakeAuthorizationController::createAccountForm'
lingotek_test.routing.yml in tests/modules/lingotek_test/lingotek_test.routing.yml
tests/modules/lingotek_test/lingotek_test.routing.yml

File

tests/modules/lingotek_test/src/Controller/FakeAuthorizationController.php, line 31

Class

FakeAuthorizationController

Namespace

Drupal\lingotek_test\Controller

Code

public function createAccountForm(Request $request) {

  // We redirect as will happen after clicking cancel on the form.
  $url = $request
    ->get('app');
  return new RedirectResponse($url);
}