public function FormModeManagerInterface::getAllFormModesDefinitions in Form mode manager 8.2
Same name and namespace in other branches
- 8 src/FormModeManagerInterface.php \Drupal\form_mode_manager\FormModeManagerInterface::getAllFormModesDefinitions()
Gets the entity form mode info for all entity types used.
Parameters
bool $ignore_excluded: Joker to determine if form modes to exclude list are used or ignored.
bool $ignore_active_display: Flag to ignore if a form mode is used in bundle display. This parameter doesn't not be activated in entityTypeAlter, context caused by getStorage() call.
Return value
array The collection without uneeded form modes.
1 method overrides FormModeManagerInterface::getAllFormModesDefinitions()
- FormModeManager::getAllFormModesDefinitions in src/
FormModeManager.php - Gets the entity form mode info for all entity types used.
File
- src/
FormModeManagerInterface.php, line 81
Class
- FormModeManagerInterface
- Interface FormModeManagerInterface.
Namespace
Drupal\form_mode_managerCode
public function getAllFormModesDefinitions($ignore_excluded = FALSE, $ignore_active_display = FALSE);