You are here

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

Retrieve and decode data from a local schema.jsonld file.

The data comes from https://schema.org/version/latest/schema.jsonld and is stored at /data. This file can be updated periodically.

Return value

array A decoded array of Schema.org data.

See also

http://schema.org/docs/developers.html

https://github.com/schemaorg/schemaorg

https://schema.org/version/latest/schema.jsonld

https://schema.org/version/latest/schemaorg-all-http.jsonld

1 method overrides SchemaMetatagClientInterface::getLocalFile()
SchemaMetatagClient::getLocalFile in src/SchemaMetatagClient.php
Retrieve and decode data from a local schema.jsonld file.

File

src/SchemaMetatagClientInterface.php, line 28

Class

SchemaMetatagClientInterface
The SchemaMetatg Client Interface.

Namespace

Drupal\schema_metatag

Code

public function getLocalFile();