public function ConnectionAddController::getAddTitle in RedHen CRM 8
Provides the page title for add controller.
Return value
string The page title.
File
- modules/
redhen_connection/ src/ Controller/ ConnectionAddController.php, line 88
Class
- ConnectionAddController
- Class ConnectionAddController.
Namespace
Drupal\redhen_connection\ControllerCode
public function getAddTitle() {
$entity_type = redhen_connection_get_connection_entity_from_route()
->getEntityType();
return t('Select a @type Connection Type', [
'@type' => $entity_type
->getLabel(),
]);
}