public EntityInterface::language()
Gets the language of the entity.
Return value
\Drupal\Core\Language\LanguageInterface The language object.
File
- core/lib/Drupal/Core/Entity/EntityInterface.php, line 42
Class
- EntityInterface
- Defines a common interface for all entity objects.
Namespace
Drupal\Core\Entity
Code
public function language();
Please login to continue.