public function UserFormModeController::addPageTitle in Form mode manager 8
The _title_callback for the entity.add routes.
Parameters
\Drupal\Core\Routing\RouteMatchInterface $route_match: The current route match.
Return value
string The page title.
Overrides EntityFormModeBase::addPageTitle
File
- src/
Controller/ UserFormModeController.php, line 98
Class
- UserFormModeController
- Controller for specific User entity form mode support.
Namespace
Drupal\form_mode_manager\ControllerCode
public function addPageTitle(RouteMatchInterface $route_match) {
return $this
->pageTitle($route_match, $this
->t('Create'));
}