abstract public function AbstractEntityFormModesFactory::getEntityFromRouteMatch in Form mode manager 8.2
Retrieves entity from route match.
Parameters
\Drupal\Core\Routing\RouteMatchInterface $route_match: The route match.
1 call to AbstractEntityFormModesFactory::getEntityFromRouteMatch()
2 methods override AbstractEntityFormModesFactory::getEntityFromRouteMatch()
File
- src/
AbstractEntityFormModesFactory.php, line 145
Class
- AbstractEntityFormModesFactory
- Abstract Factory to generate object used by routing of Form Mode Manager.
Namespace
Drupal\form_mode_managerCode
public abstract function getEntityFromRouteMatch(RouteMatchInterface $route_match);