ContentEntityFormInterface::getFormLangcode

public ContentEntityFormInterface::getFormLangcode(FormStateInterface $form_state)

Gets the code identifying the active form language.

Parameters

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

Return value

string The form language code.

File

core/lib/Drupal/Core/Entity/ContentEntityFormInterface.php, line 48

Class

ContentEntityFormInterface
Defines a common interface for content entity form classes.

Namespace

Drupal\Core\Entity

Code

public function getFormLangcode(FormStateInterface $form_state);
doc_Drupal
2016-10-29 08:57:18
Comments
Leave a Comment

Please login to continue.