You are here

protected function SchemaNameBase::neverExplode in Schema.org Metatag 8

Same name and namespace in other branches
  1. 8.2 src/Plugin/metatag/Tag/SchemaNameBase.php \Drupal\schema_metatag\Plugin\metatag\Tag\SchemaNameBase::neverExplode()

Nested elements that cannot be exploded.

Return value

array Array of keys that might contain commas, or otherwise cannot be exploded.

1 call to SchemaNameBase::neverExplode()
SchemaNameBase::processItem in src/Plugin/metatag/Tag/SchemaNameBase.php

File

src/Plugin/metatag/Tag/SchemaNameBase.php, line 151

Class

SchemaNameBase
All Schema.org tags should extend this class.

Namespace

Drupal\schema_metatag\Plugin\metatag\Tag

Code

protected function neverExplode() {
  return [
    'streetAddress',
    'reviewBody',
    'recipeInstructions',
  ];
}