You are here

public function FormModeManagerInterface::candidateToExclude in Form mode manager 8.2

Same name and namespace in other branches
  1. 8 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.

bool $ignore_excluded: Joker to determine if form modes to exclude list are used or ignored.

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 150

Class

FormModeManagerInterface
Interface FormModeManagerInterface.

Namespace

Drupal\form_mode_manager

Code

public function candidateToExclude(array $form_mode, $entity_type_id, $ignore_excluded);