You are here

public function ErrorPageController::getPageTitle in Apigee Edge 8

Returns the error page title from the module's config.

Return value

string The page title.

1 string reference to 'ErrorPageController::getPageTitle'
apigee_edge.routing.yml in ./apigee_edge.routing.yml
apigee_edge.routing.yml

File

src/Controller/ErrorPageController.php, line 71

Class

ErrorPageController
Defines a controller for the configurable error page.

Namespace

Drupal\apigee_edge\Controller

Code

public function getPageTitle() : string {
  return $this->configFactory
    ->get('apigee_edge.error_page')
    ->get('error_page_title');
}