public function LinkitController::profileTitle in Linkit 8.5
Same name and namespace in other branches
- 8.4 src/Controller/LinkitController.php \Drupal\linkit\Controller\LinkitController::profileTitle()
Route title callback.
Parameters
\Drupal\linkit\ProfileInterface $linkit_profile: The profile.
Return value
string The profile label as a render array.
1 string reference to 'LinkitController::profileTitle'
File
- src/
Controller/ LinkitController.php, line 22
Class
- LinkitController
- Provides route responses for linkit.module.
Namespace
Drupal\linkit\ControllerCode
public function profileTitle(ProfileInterface $linkit_profile) {
return $this
->t('Edit %label profile', [
'%label' => $linkit_profile
->label(),
]);
}