You are here

public function FormModeManagerEntityController::entityAdd in Form mode manager 8.2

Provides the entity add submission form.

Parameters

\Drupal\Core\Routing\RouteMatchInterface $route_match: The current route match.

Overrides EntityFormModeManagerInterface::entityAdd

File

src/Controller/FormModeManagerEntityController.php, line 162

Class

FormModeManagerEntityController
Generic Controller for entity using form mode manager routing.

Namespace

Drupal\form_mode_manager\Controller

Code

public function entityAdd(RouteMatchInterface $route_match) {
  return $this
    ->getEntityControllerResponse(__FUNCTION__, $route_match);
}