TypedDataMetadata::__construct

public TypedDataMetadata::__construct(TypedDataInterface $typed_data)

Constructs the object.

Parameters

\Drupal\Core\TypedData\TypedDataInterface $typed_data: The typed data object the metadata is about.

File

core/lib/Drupal/Core/TypedData/Validation/TypedDataMetadata.php, line 32

Class

TypedDataMetadata
Validator metadata for typed data objects.

Namespace

Drupal\Core\TypedData\Validation

Code

public function __construct(TypedDataInterface $typed_data) {
  $this->typedData = $typed_data;
}
doc_Drupal
2016-10-29 09:50:14
Comments
Leave a Comment

Please login to continue.