abstract public function AbstractEntityFormModesFactory::getEntityTypeFromRouteMatch 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::getEntityTypeFromRouteMatch()
- AbstractEntityFormModesFactory::pageTitle in src/
AbstractEntityFormModesFactory.php - The _title_callback for the entity.add routes.
2 methods override AbstractEntityFormModesFactory::getEntityTypeFromRouteMatch()
File
- src/
AbstractEntityFormModesFactory.php, line 129
Class
- AbstractEntityFormModesFactory
- Abstract Factory to generate object used by routing of Form Mode Manager.
Namespace
Drupal\form_mode_managerCode
public abstract function getEntityTypeFromRouteMatch(RouteMatchInterface $route_match);