You are here

public function PropertyTypeInterface::getChildPropertyType in Schema.org Metatag 8.2

Get an instance of a child property type.

Used to do things like get the test value for a child element on complex property types that contain other types.

Parameters

string $plugin_id: The plugin id of the child property type.

Return value

\Drupal\schema_metatag\Plugin\schema_metatag\PropertyTypeInterface An instance of the child property type.

1 method overrides PropertyTypeInterface::getChildPropertyType()
PropertyTypeBase::getChildPropertyType in src/Plugin/schema_metatag/PropertyTypeBase.php
Get an instance of a child property type.

File

src/Plugin/schema_metatag/PropertyTypeInterface.php, line 201

Class

PropertyTypeInterface
Defines an interface for property type plugins.

Namespace

Drupal\schema_metatag\Plugin\schema_metatag

Code

public function getChildPropertyType($plugin_id);