The block language code.
Type: \Drupal\Core\Entity\Field\FieldInterface
Overrides Entity::$langcode
File
- drupal/core/modules/block/custom_block/lib/Drupal/custom_block/Plugin/Core/Entity/CustomBlock.php, line 96
- Contains \Drupal\custom_block\Plugin\Core\Entity\CustomBlock.
Class
- CustomBlock
- Defines the custom block entity class.
Namespace
Drupal\custom_block\Plugin\Core\Entity
Code
public $langcode;