You are here

public function FaqAskController::askPageSettings in FAQ_Ask 8

Get the FAQ ask question form.

1 string reference to 'FaqAskController::askPageSettings'
faq_ask.routing.yml in ./faq_ask.routing.yml
faq_ask.routing.yml

File

src/Controller/FaqAskController.php, line 33
Contains \Drupal\faq\Controller\FaqAskController.

Class

FaqAskController
Controller routines for FAQ Ask routes.

Namespace

Drupal\faq_ask\Controller

Code

public function askPageSettings() {
  return new RedirectResponse(URL::fromUserInput('/node/add/faq?ask=TRUE')
    ->toString());
}