public function EntityFormModeManagerInterface::addPage in Form mode manager 8.2
Displays add content links for available entity types.
Redirects to entity/add/[bundle] if only one content type is available.
2 methods override EntityFormModeManagerInterface::addPage()
- AbstractEntityFormModesFactory::addPage in src/
AbstractEntityFormModesFactory.php - Displays add content links for available entity types.
- FormModeManagerEntityController::addPage in src/
Controller/ FormModeManagerEntityController.php - Displays add content links for available entity types.
File
- src/
EntityFormModeManagerInterface.php, line 17
Class
- EntityFormModeManagerInterface
- Interface EntityFormModeManagerInterface.
Namespace
Drupal\form_mode_managerCode
public function addPage(RouteMatchInterface $route_match);