You are here

abstract public function AbstractEntityFormModesFactory::getEntity in Form mode manager 8.2

Provides the entity submission form.

Parameters

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

2 calls to AbstractEntityFormModesFactory::getEntity()
AbstractEntityFormModesFactory::entityAdd in src/AbstractEntityFormModesFactory.php
Provides the entity add submission form.
AbstractEntityFormModesFactory::entityEdit in src/AbstractEntityFormModesFactory.php
Provides the entity 'edit' form.
2 methods override AbstractEntityFormModesFactory::getEntity()
ComplexEntityFormModes::getEntity in src/ComplexEntityFormModes.php
SimpleEntityFormModes::getEntity in src/SimpleEntityFormModes.php

File

src/AbstractEntityFormModesFactory.php, line 137

Class

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

Namespace

Drupal\form_mode_manager

Code

public abstract function getEntity(RouteMatchInterface $route_match);