Checks whether the current form language matches the entity one.
Parameters
array $form_state:
A keyed array containing the current state of the form.
Return value
boolean
Returns TRUE if the entity form language matches the entity one.
File
- drupal/core/lib/Drupal/Core/Entity/EntityFormControllerInterface.php, line 38
- Contains \Drupal\Core\Entity\EntityFormControllerInterface.
Class
- EntityFormControllerInterface
- Defines a common interface for entity form controller classes.
Namespace
Drupal\Core\Entity
Code
public function isDefaultFormLangcode(array $form_state);