You are here

public function CacheClearBlock::__construct in Akamai 8.3

Constructs a new CacheClearBlock 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.

\Drupal\Core\Form\FormBuilderInterface $form_builder: The Form Builder.

Overrides BlockPluginTrait::__construct

File

src/Plugin/Block/CacheClearBlock.php, line 42

Class

CacheClearBlock
Provides a block to clear the currently viewed URL.

Namespace

Drupal\akamai\Plugin\Block

Code

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