You are here

public function PagererStyleBase::__construct in Pagerer 8

Same name and namespace in other branches
  1. 8.2 src/Plugin/pagerer/PagererStyleBase.php \Drupal\pagerer\Plugin\pagerer\PagererStyleBase::__construct()

Constructs a \Drupal\pagerer\Plugin\pagerer\PagererStyleBase 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\Config\TypedConfigManager $typed_config_manager: The config type plugins manager.

\Drupal\Core\Config\ConfigFactoryInterface $config_factory: The config factory.

Overrides PluginBase::__construct

File

src/Plugin/pagerer/PagererStyleBase.php, line 82

Class

PagererStyleBase
Base plugin for Pagerer.

Namespace

Drupal\pagerer\Plugin\pagerer

Code

public function __construct(array $configuration, $plugin_id, $plugin_definition, TypedConfigManager $typed_config_manager, ConfigFactoryInterface $config_factory) {
  parent::__construct($configuration, $plugin_id, $plugin_definition);
  $this->typedConfigManager = $typed_config_manager;
  $this->configFactory = $config_factory;
}