public function TeamAppsLocalTask::getTitle in Apigee Edge 8
Returns the localized title to be shown for this tab.
Subclasses may add optional arguments like NodeInterface $node = NULL that will be supplied by the ControllerResolver.
Return value
string The title of the local task.
Overrides LocalTaskDefault::getTitle
File
- modules/
apigee_edge_teams/ src/ Plugin/ Menu/ TeamAppsLocalTask.php, line 73
Class
- TeamAppsLocalTask
- Provides a local task that list Team Apps shared by a team.
Namespace
Drupal\apigee_edge_teams\Plugin\MenuCode
public function getTitle(Request $request = NULL) {
// Display the current plural label of the Team app entity.
return $this->teamAppDefinition
->getCollectionLabel();
}