You are here

public function AbstractEntityFormModesFactory::addPageTitle in Form mode manager 8.2

Return value

string The title context for "add" form.

Overrides EntityFormModeManagerInterface::addPageTitle

File

src/AbstractEntityFormModesFactory.php, line 228

Class

AbstractEntityFormModesFactory
Abstract Factory to generate object used by routing of Form Mode Manager.

Namespace

Drupal\form_mode_manager

Code

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