You are here

public function FormModeManagerInterface::isValidFormMode in Form mode manager 8.2

Same name and namespace in other branches
  1. 8 src/FormModeManagerInterface.php \Drupal\form_mode_manager\FormModeManagerInterface::isValidFormMode()

Determine if form_mode definition passed is valid.

Parameters

array $form_mode: A form mode definition to fetch.

Return value

bool True if Form mode have a minimum informations or false.

1 method overrides FormModeManagerInterface::isValidFormMode()
FormModeManager::isValidFormMode in src/FormModeManager.php
Determine if form_mode definition passed is valid.

File

src/FormModeManagerInterface.php, line 135

Class

FormModeManagerInterface
Interface FormModeManagerInterface.

Namespace

Drupal\form_mode_manager

Code

public function isValidFormMode(array $form_mode);