public function Metadata::getPropertyValue

Extracts the value of the property from the given container.

Parameters

mixed $container The container to extract the property value from.:

Return value

mixed The value of the property.

Overrides PropertyMetadataInterface::getPropertyValue

File

drupal/core/lib/Drupal/Core/TypedData/Validation/Metadata.php, line 91
Contains \Drupal\Core\TypedData\Validation\Metadata.

Class

Metadata
Typed data implementation of the validator MetadataInterface.

Namespace

Drupal\Core\TypedData\Validation

Code

public function getPropertyValue($container) {
  return $this->typedData
    ->getValue();
}