Skip to main content
Drupal API
User account menu
  • Log in

Breadcrumb

  1. Drupal Core 11.1.x
  2. ContentEntityBase.php

ContentEntityBase::$activeLangcode

Language code identifying the entity active language.

This is the language field accessors will use to determine which field values to manipulate.

Type: string

File

core/lib/Drupal/Core/Entity/ContentEntityBase.php, line 87

Class

ContentEntityBase
Implements Entity Field API specific enhancements to the Entity class.

Namespace

Drupal\Core\Entity

Code

protected $activeLangcode = LanguageInterface::LANGCODE_DEFAULT;

API Navigation

  • Drupal Core 11.1.x
  • Topics
  • Classes
  • Functions
  • Constants
  • Globals
  • Files
  • Namespaces
  • Deprecated
  • Services
RSS feed
Powered by Drupal