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()
File
- src/
AbstractEntityFormModesFactory.php, line 137
Class
- AbstractEntityFormModesFactory
- Abstract Factory to generate object used by routing of Form Mode Manager.
Namespace
Drupal\form_mode_managerCode
public abstract function getEntity(RouteMatchInterface $route_match);