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.
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);