public function FormModeManagerInterface::isActive in Form mode manager 8.2
Same name and namespace in other branches
- 8 src/FormModeManagerInterface.php \Drupal\form_mode_manager\FormModeManagerInterface::isActive()
Determine if a form mode is activated onto bundle of specific entity.
Parameters
string $entity_type_id: The entity type id.
string $bundle_id: (Optional) Name of bundle for current entity.
string $form_mode_machine_name: Machine name of form mode.
Return value
bool True if FormMode is activated on needed bundle.
1 method overrides FormModeManagerInterface::isActive()
- FormModeManager::isActive in src/
FormModeManager.php - Determine if a form mode is activated onto bundle of specific entity.
File
- src/
FormModeManagerInterface.php, line 178
Class
- FormModeManagerInterface
- Interface FormModeManagerInterface.
Namespace
Drupal\form_mode_managerCode
public function isActive($entity_type_id, $bundle_id, $form_mode_machine_name);