You are here

public function PropertyTypeBase::setSchemaMetatagClient in Schema.org Metatag 8.2

Sets SchemaMetatagClient service.

Parameters

\Drupal\schema_metatag\SchemaMetatagClientInterface $schemaMetatagClient: The Schema.org client.

File

src/Plugin/schema_metatag/PropertyTypeBase.php, line 73

Class

PropertyTypeBase
Base class for Property type plugins.

Namespace

Drupal\schema_metatag\Plugin\schema_metatag

Code

public function setSchemaMetatagClient(SchemaMetatagClientInterface $schemaMetatagClient) {
  $this->schemaMetatagClient = $schemaMetatagClient;
}