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; }
Please login to continue.