You are here

public function FormModeThemeSwitcherForm::setSettingsPerEntity in Form mode manager 8.2

Set settings per compatible entities.

Parameters

\Drupal\Core\Form\FormStateInterface $form_state: The current state of the form.

array $form_modes: The form modes collection for given entity type.

string $entity_type_id: The entity type ID of entity.

Return value

$this|false The form Object.

Overrides FormModeManagerFormBase::setSettingsPerEntity

File

modules/form_mode_theme_switcher/src/Form/FormModeThemeSwitcherForm.php, line 175

Class

FormModeThemeSwitcherForm
Configure Form for Form Mode Manager theme switcher settings.

Namespace

Drupal\form_mode_manager_theme_switcher\Form

Code

public function setSettingsPerEntity(FormStateInterface $form_state, array $form_modes, $entity_type_id) {
  return FALSE;
}