You are here

public function UnpublishCacheflush::__construct in CacheFlush 8

Class constructor.

Parameters

array $configuration: The configuration.

string $plugin_id: The plugin ID.

mixed $plugin_definition: The plugin definition.

\Drupal\Core\Routing\RouteBuilderInterface $router_builder: The router builder service.

Overrides PluginBase::__construct

File

modules/cacheflush_ui/src/Plugin/Action/UnpublishCacheflush.php, line 41

Class

UnpublishCacheflush
Unpublishes a cacheflush.

Namespace

Drupal\cacheflush_ui\Plugin\Action

Code

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