You are here

public function PrimitiveBase::getValue in Zircon Profile 8.0

Same name and namespace in other branches
  1. 8 core/lib/Drupal/Core/TypedData/PrimitiveBase.php \Drupal\Core\TypedData\PrimitiveBase::getValue()

Gets the data value.

Return value

mixed

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 25
Contains \Drupal\Core\TypedData\PrimitiveBase.

Class

PrimitiveBase
Base class for primitive data types.

Namespace

Drupal\Core\TypedData

Code

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