public property Node::$langcode

The node language code.

Type: string

Overrides Entity::$langcode

File

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

Class

Node
Defines the node entity class.

Namespace

Drupal\node\Plugin\Core\Entity

Code

public $langcode = LANGUAGE_NOT_SPECIFIED;