public function TamperPluginDefinition::__construct in Tamper 7
Constructs a TamperPluginDefinition object.
Parameters
string $definition_id: The plugin definition id.
array $definition: The definition array.
File
- src/
Tamper.php, line 35 - Contains TamperPluginBase.
Class
- TamperPluginDefinition
- Wraps a plugin definition array.
Code
public function __construct($definition_id, array $definition) {
$this->id = $definition_id;
$this->definition = $definition;
}