protected property Comment::$values

The plain data values of the contained properties.

Define default values.

Type: array

Overrides EntityNG::$values

File

drupal/core/modules/comment/lib/Drupal/comment/Plugin/Core/Entity/Comment.php, line 190
Definition of Drupal\comment\Plugin\Core\Entity\Comment.

Class

Comment
Defines the comment entity class.

Namespace

Drupal\comment\Plugin\Core\Entity

Code

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