function TypedData::getValue

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

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.
10 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.
EntityAdapter::getValue in core/lib/Drupal/Core/Entity/Plugin/DataType/EntityAdapter.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;
}

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