You are here

public static function SchemaMetatagManagerInterface::parseJsonld in Schema.org Metatag 8

Same name and namespace in other branches
  1. 8.2 src/SchemaMetatagManagerInterface.php \Drupal\schema_metatag\SchemaMetatagManagerInterface::parseJsonld()

Parse tags added by Schema Metatag into JsonLD array.

Parameters

array $elements: Array of Metatag values, as formatted for the head of a page.

Return value

array Array of Schema metatag tags, ready to be turned into JSON LD.

1 method overrides SchemaMetatagManagerInterface::parseJsonld()
SchemaMetatagManager::parseJsonld in src/SchemaMetatagManager.php
Parse tags added by Schema Metatag into JsonLD array.

File

src/SchemaMetatagManagerInterface.php, line 21

Class

SchemaMetatagManagerInterface
Interface SchemaMetatagManagerInterface.

Namespace

Drupal\schema_metatag

Code

public static function parseJsonld(array &$elements);