protected property Term::$values

Default values for the term.

Type: array

Overrides EntityNG::$values

File

drupal/core/modules/taxonomy/lib/Drupal/taxonomy/Plugin/Core/Entity/Term.php, line 128
Definition of Drupal\taxonomy\Plugin\Core\Entity\Term.

Class

Term
Defines the taxonomy term entity.

Namespace

Drupal\taxonomy\Plugin\Core\Entity

Code

protected $values = array(
  'langcode' => array(
    Language::LANGCODE_DEFAULT => array(
      0 => array(
        'value' => Language::LANGCODE_NOT_SPECIFIED,
      ),
    ),
  ),
  'weight' => array(
    Language::LANGCODE_DEFAULT => array(
      0 => array(
        'value' => 0,
      ),
    ),
  ),
);