public function YamlFormBlock::__construct in YAML Form 8
Creates a HelpBlock instance.
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.
\Drupal\yamlform\YamlFormTokenManagerInterface $token_manager: The token manager.
Overrides BlockPluginTrait::__construct
File
- src/
Plugin/ Block/ YamlFormBlock.php, line 51
Class
- YamlFormBlock
- Provides a 'Form' block.
Namespace
Drupal\yamlform\Plugin\BlockCode
public function __construct(array $configuration, $plugin_id, $plugin_definition, YamlFormTokenManagerInterface $token_manager) {
parent::__construct($configuration, $plugin_id, $plugin_definition);
$this->tokenManager = $token_manager;
}