You are here

public function SchemaNameBase::setSchemaMetatagManager 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::setSchemaMetatagManager()

Sets schemaMetatagManager service.

Parameters

\Drupal\schema_metatag\SchemaMetatagManager $schemaMetatagManager: The Schema Metatag Manager service.

File

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

Class

SchemaNameBase
All Schema.org tags should extend this class.

Namespace

Drupal\schema_metatag\Plugin\metatag\Tag

Code

public function setSchemaMetatagManager(SchemaMetatagManager $schemaMetatagManager) {
  $this->schemaMetatagManager = $schemaMetatagManager;
}