You are here

public function SchemaActionBase::__construct in Schema.org Metatag 8

Constructs a \Drupal\Component\Plugin\PluginBase object.

Parameters

array $configuration: A configuration array containing information about the plugin instance.

string $plugin_id: The plugin_id for the plugin instance.

mixed $plugin_definition: The plugin implementation definition.

Overrides MetaNameBase::__construct

File

src/Plugin/metatag/Tag/SchemaActionBase.php, line 22

Class

SchemaActionBase
Schema.org Action items should extend this class.

Namespace

Drupal\schema_metatag\Plugin\metatag\Tag

Code

public function __construct(array $configuration, $plugin_id, array $plugin_definition) {
  parent::__construct($configuration, $plugin_id, $plugin_definition);
  $this->actions = [];
}