You are here

public function EntityFormModeBase::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.

1 method overrides EntityFormModeBase::editPageTitle()
UserFormModeController::editPageTitle in src/Controller/UserFormModeController.php
The _title_callback for the entity.add routes.

File

src/Controller/EntityFormModeBase.php, line 319

Class

EntityFormModeBase
Controller for 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'));
}