public function ActivitiesBrowserController::formTitleCallback in Opigno module 3.x
Same name and namespace in other branches
- 8 src/Controller/ActivitiesBrowserController.php \Drupal\opigno_module\Controller\ActivitiesBrowserController::formTitleCallback()
Page title callback.
Parameters
\Drupal\opigno_module\Entity\OpignoModuleInterface $opigno_module: Opigno module entity object.
Return value
string Opigno module entity label.
1 string reference to 'ActivitiesBrowserController::formTitleCallback'
File
- src/
Controller/ ActivitiesBrowserController.php, line 28
Class
- ActivitiesBrowserController
- Class ActivitiesBrowserController.
Namespace
Drupal\opigno_module\ControllerCode
public function formTitleCallback(OpignoModuleInterface $opigno_module) {
// Return entity label.
return $opigno_module
->label();
}