public function EntityFormControllerInterface::getFormLangcode

Returns the code identifying the active form language.

Parameters

array $form_state: An associative array containing the current state of the form.

Return value

string The form language code.

1 method overrides EntityFormControllerInterface::getFormLangcode()

File

drupal/core/lib/Drupal/Core/Entity/EntityFormControllerInterface.php, line 27
Contains \Drupal\Core\Entity\EntityFormControllerInterface.

Class

EntityFormControllerInterface
Defines a common interface for entity form controller classes.

Namespace

Drupal\Core\Entity

Code

public function getFormLangcode(array $form_state);