You are here

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

Retrieve an array of object information from the raw data.

The raw data is a series of objects with information about each of them. Each class contains a list of its parent classes, but the data is not represented hierarchically.

Parameters

bool $clear: Whether to clear the cached array created by getObjects().

Return value

array An array of objects:

  • object name:

    • object: The name of the object class.
    • description: The description of the object.
    • parents: An array of objects this object is a subclass of.
1 method overrides SchemaMetatagClientInterface::objectInfo()
SchemaMetatagClient::objectInfo in src/SchemaMetatagClient.php
Retrieve an array of object information from the raw data.

File

src/SchemaMetatagClientInterface.php, line 47

Class

SchemaMetatagClientInterface
The SchemaMetatg Client Interface.

Namespace

Drupal\schema_metatag

Code

public function objectInfo($clear = FALSE);