public function FormModeManagerInterface::hasActiveFormMode in Form mode manager 8
Same name and namespace in other branches
- 8.2 src/FormModeManagerInterface.php \Drupal\form_mode_manager\FormModeManagerInterface::hasActiveFormMode()
Determine if current entity_type has one bundle implement this mode.
Parameters
string $entity_type: The entity type id.
string $form_mode_id: Identifier of form mode prefixed by entity type id.
Return value
bool True if tasks does display at primary position.
1 method overrides FormModeManagerInterface::hasActiveFormMode()
- FormModeManager::hasActiveFormMode in src/
FormModeManager.php - Determine if current entity_type has one bundle implement this mode.
File
- src/
FormModeManagerInterface.php, line 194
Class
- FormModeManagerInterface
- Interface FormModeManagerInterface.
Namespace
Drupal\form_mode_managerCode
public function hasActiveFormMode($entity_type, $form_mode_id);