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

Gets the data value.

Return value

mixed The data value.

Overrides TypedDataInterface::getValue

1 call to TypedData::getValue()
TypedData::getString in core/lib/Drupal/Core/TypedData/TypedData.php
Returns a string representation of the data.
6 methods override TypedData::getValue()
ComputedFileUrl::getValue in core/modules/file/src/ComputedFileUrl.php
Gets the data value.
ComputedString::getValue in core/modules/system/tests/modules/entity_test/src/TypedData/ComputedString.php
Gets the data value.
DataReferenceBase::getValue in core/lib/Drupal/Core/TypedData/DataReferenceBase.php
Gets the data value.
DateTimeComputed::getValue in core/modules/datetime/src/DateTimeComputed.php
Gets the data value.
PrimitiveBase::getValue in core/lib/Drupal/Core/TypedData/PrimitiveBase.php
Gets the data value.

... See full list

File

core/lib/Drupal/Core/TypedData/TypedData.php, line 94

Class

TypedData
The abstract base class for typed data.

Namespace

Drupal\Core\TypedData

Code

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