public function FormModeManagerInterface::candidateToExclude in Form mode manager 8
Same name and namespace in other branches
- 8.2 src/FormModeManagerInterface.php \Drupal\form_mode_manager\FormModeManagerInterface::candidateToExclude()
Evaluate if current form_mode is candidate to be filtered or not.
Parameters
array $form_mode: A form mode definition.
string $entity_type_id: The entity type id.
Return value
bool True if form mode is candidate to be excluded or False if not.
1 method overrides FormModeManagerInterface::candidateToExclude()
- FormModeManager::candidateToExclude in src/
FormModeManager.php - Evaluate if current form_mode is candidate to be filtered or not.
File
- src/
FormModeManagerInterface.php, line 117
Class
- FormModeManagerInterface
- Interface FormModeManagerInterface.
Namespace
Drupal\form_mode_managerCode
public function candidateToExclude(array $form_mode, $entity_type_id);