You are here

public function SchemaMetatagClientInterface::getParents in Schema.org Metatag 8.2

Get an array of all parents of a given class.

Parameters

string $child_name: The key of the desired sub-array.

Return value

array An array of parent classes, ordered from the lowest to the highest in the tree hierarchy.

1 method overrides SchemaMetatagClientInterface::getParents()
SchemaMetatagClient::getParents in src/SchemaMetatagClient.php
Get an array of all parents of a given class.

File

src/SchemaMetatagClientInterface.php, line 143

Class

SchemaMetatagClientInterface
The SchemaMetatg Client Interface.

Namespace

Drupal\schema_metatag

Code

public function getParents($child_name);