public function TestRouteController::pageTitleFormattableMarkup in Easy Breadcrumb 2.x
Same name and namespace in other branches
- 8 tests/modules/easy_breadcrumb_test/src/Controller/TestRouteController.php \Drupal\easy_breadcrumb_test\Controller\TestRouteController::pageTitleFormattableMarkup()
Returns the page title as FormattableMarkup.
Among other places, used in Drupal\search_api\Controller\IndexController.php.
Return value
\Drupal\Component\Render\FormattableMarkup The page title.
1 string reference to 'TestRouteController::pageTitleFormattableMarkup'
- 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 36
Class
- TestRouteController
- Provides block routines for search server-specific routes.
Namespace
Drupal\easy_breadcrumb_test\ControllerCode
public function pageTitleFormattableMarkup() {
return new FormattableMarkup('Type: @type', [
'@type' => FormattableMarkup::class,
]);
}