You are here

public function WorkspaceController::getAddFormTitle in Workspace 8

1 string reference to 'WorkspaceController::getAddFormTitle'
workspace.routing.yml in ./workspace.routing.yml
workspace.routing.yml

File

src/Controller/WorkspaceController.php, line 73

Class

WorkspaceController
WorkspaceController class.

Namespace

Drupal\workspace\Controller

Code

public function getAddFormTitle(WorkspaceTypeInterface $workspace_type) {
  return $this
    ->t('Add %type workspace', [
    '%type' => $workspace_type
      ->label(),
  ]);
}