You are here

public function HeartbeatCommentBlock::__construct in Heartbeat 8

Construct.

Parameters

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

string $plugin_id: The plugin_id for the plugin instance.

string $plugin_definition: The plugin implementation definition.

Overrides BlockPluginTrait::__construct

File

src/Plugin/Block/HeartbeatCommentBlock.php, line 39

Class

HeartbeatCommentBlock
Provides a 'HeartbeatCommentBlock' block.

Namespace

Drupal\heartbeat\Plugin\Block

Code

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