You are here

public function PrimitiveBase::getValue in Drupal 8

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

Gets the data value.

Return value

mixed The data value.

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;
}