SchemaGroupBase.php in Schema.org Metatag 8.2
File
src/Plugin/metatag/Group/SchemaGroupBase.php
View source
<?php
namespace Drupal\schema_metatag\Plugin\metatag\Group;
use Drupal\metatag\Plugin\metatag\Group\GroupBase;
abstract class SchemaGroupBase extends GroupBase {
protected $schemaMetatag;
public function __construct(array $configuration, $plugin_id, array $plugin_definition) {
parent::__construct($configuration, $plugin_id, $plugin_definition);
$this->schemaMetatag = $plugin_definition['schema_metatag'];
}
public function schemaMetatag() {
return $this->schemaMetatag;
}
}