You are here

public function CookiesDocsController::info in COOKiES Consent Management 1.0.x

Main method returning the documentation.

Return value

array Returns render array with all the cookie docs collected from services.

Throws

\Drupal\Component\Plugin\Exception\InvalidPluginDefinitionException

\Drupal\Component\Plugin\Exception\PluginNotFoundException

1 string reference to 'CookiesDocsController::info'
cookies.routing.yml in ./cookies.routing.yml
cookies.routing.yml

File

src/Controller/CookiesDocsController.php, line 49

Class

CookiesDocsController
Class ServiceConfigController.

Namespace

Drupal\cookies\Controller

Code

public function info() {
  return $this->configService
    ->getRenderedCookiesDocs();
}