You are here

public function OgUiController::rolesPermissionsOverviewTitleCallback in Organic groups 8

Title callback for rolesPermissionsOverviewPage.

Parameters

string $type: The type of overview, either 'roles' or 'permissions'.

Return value

\Drupal\Core\StringTranslation\TranslatableMarkup Return the translated title.

1 string reference to 'OgUiController::rolesPermissionsOverviewTitleCallback'
og_ui.routing.yml in og_ui/og_ui.routing.yml
og_ui/og_ui.routing.yml

File

og_ui/src/Controller/OgUiController.php, line 119

Class

OgUiController
The OG UI controller.

Namespace

Drupal\og_ui\Controller

Code

public function rolesPermissionsOverviewTitleCallback($type) {
  return $this
    ->t('OG @type overview', [
    '@type' => $type,
  ]);
}