public function EntityFormControllerInterface::isDefaultFormLangcode

Checks whether the current form language matches the entity one.

Parameters

array $form_state: A reference to a keyed array containing the current state of the form.

Return value

boolean Returns TRUE if the entity form language matches the entity one.

1 method overrides EntityFormControllerInterface::isDefaultFormLangcode()
EntityFormController::isDefaultFormLangcode in drupal/core/lib/Drupal/Core/Entity/EntityFormController.php
Implements EntityFormControllerInterface::isDefaultFormLangcode().

File

drupal/core/lib/Drupal/Core/Entity/EntityFormControllerInterface.php, line 55
Definition of Drupal\Core\Entity\EntityFormControllerInterface.

Class

EntityFormControllerInterface
Defines a common interface for entity form controller classes.

Namespace

Drupal\Core\Entity

Code

public function isDefaultFormLangcode($form_state);