You are here

public function TestRouteController::pageTitleRender in Easy Breadcrumb 8

Same name and namespace in other branches
  1. 2.x tests/modules/easy_breadcrumb_test/src/Controller/TestRouteController.php \Drupal\easy_breadcrumb_test\Controller\TestRouteController::pageTitleRender()

Returns the page title as FormattableMarkup.

Return value

array The page title.

1 string reference to 'TestRouteController::pageTitleRender'
easy_breadcrumb_test.routing.yml in tests/modules/easy_breadcrumb_test/easy_breadcrumb_test.routing.yml
tests/modules/easy_breadcrumb_test/easy_breadcrumb_test.routing.yml

File

tests/modules/easy_breadcrumb_test/src/Controller/TestRouteController.php, line 68

Class

TestRouteController
Provides block routines for search server-specific routes.

Namespace

Drupal\easy_breadcrumb_test\Controller

Code

public function pageTitleRender() {
  return [
    '#markup' => 'this is a string',
  ];
}