You are here

public function FaqAskController::askUnanswerSettings in FAQ_Ask 8

This function lists all the unanswered questions.

It is used by the "more..." link from the block, but can also be called independently, hence user is allowed to see..

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

File

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

Class

FaqAskController
Controller routines for FAQ Ask routes.

Namespace

Drupal\faq_ask\Controller

Code

public function askUnanswerSettings() {
  $build['#markup'] = Utility::faqAskListUnanswered(9999999);
  return $build;
}