function PrimitiveBase::getValue

Same name and namespace in other branches
  1. 9 core/lib/Drupal/Core/TypedData/PrimitiveBase.php \Drupal\Core\TypedData\PrimitiveBase::getValue()
  2. 10 core/lib/Drupal/Core/TypedData/PrimitiveBase.php \Drupal\Core\TypedData\PrimitiveBase::getValue()
  3. 11.x core/lib/Drupal/Core/TypedData/PrimitiveBase.php \Drupal\Core\TypedData\PrimitiveBase::getValue()

Overrides TypedData::getValue

1 method overrides PrimitiveBase::getValue()
BinaryData::getValue in core/lib/Drupal/Core/TypedData/Plugin/DataType/BinaryData.php
Gets the data value.

File

core/lib/Drupal/Core/TypedData/PrimitiveBase.php, line 20

Class

PrimitiveBase
Base class for primitive data types.

Namespace

Drupal\Core\TypedData

Code

public function getValue() {
    return $this->value;
}

Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.