function apigee_edge_app_listing_page_title in Apigee Edge 8
Gets the title of app listing page.
Return value
\Drupal\Core\StringTranslation\TranslatableMarkup The title of the page.
2 calls to apigee_edge_app_listing_page_title()
- AppsListMenuLink::getTitle in src/
Plugin/ Menu/ AppsListMenuLink.php - Returns the localized title to be shown for this link.
- DeveloperAppListBuilderForDeveloper::pageTitle in src/
Entity/ ListBuilder/ DeveloperAppListBuilderForDeveloper.php - Returns the title of the "developer app list by user" page.
File
- ./
apigee_edge.module, line 1811 - Copyright 2018 Google Inc.
Code
function apigee_edge_app_listing_page_title() : TranslatableMarkup {
$args['@apps'] = \Drupal::entityTypeManager()
->getDefinition('developer_app')
->getCollectionLabel();
$title = t('@apps', $args);
// Modules and themes can alter the title.
\Drupal::moduleHandler()
->alter('apigee_edge_app_listing_page_title', $title);
return $title;
}