public property Node::$langcode

The node language code.

Type: \Drupal\Core\Entity\Field\FieldInterface

Overrides Entity::$langcode

File

drupal/core/modules/node/lib/Drupal/node/Plugin/Core/Entity/Node.php, line 94
Definition of Drupal\node\Plugin\Core\Entity\Node.

Class

Node
Defines the node entity class.

Namespace

Drupal\node\Plugin\Core\Entity

Code

public $langcode;