You are here

public function VarbaseQuickLinks::__construct in Varbase Total Control Dashboard 8.6

Same name and namespace in other branches
  1. 9.0.x src/Plugin/Block/VarbaseQuickLinks.php \Drupal\varbase_total_control\Plugin\Block\VarbaseQuickLinks::__construct()

Creates a VarbaseQuickLinks block 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\Core\Render\RendererInterface $renderer: The renderer service.

Overrides BlockPluginTrait::__construct

File

src/Plugin/Block/VarbaseQuickLinks.php, line 43

Class

VarbaseQuickLinks
Provides a 'Varbase Quick Links'.

Namespace

Drupal\varbase_total_control\Plugin\Block

Code

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