You are here

public function UserFormModeController::editPageTitle 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::editPageTitle

File

src/Controller/UserFormModeController.php, line 111

Class

UserFormModeController
Controller for specific User entity form mode support.

Namespace

Drupal\form_mode_manager\Controller

Code

public function editPageTitle(RouteMatchInterface $route_match) {
  return $this
    ->pageTitle($route_match, $this
    ->t('Edit'));
}