You are here

public function Lists::__construct in Campaign Monitor 8

Constructs a Drupal\Component\Plugin\PluginBase 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\Database\Connection $database: Database Service Object.

Overrides HandlerBase::__construct

File

modules/campaignmonitor_local/src/Plugin/views/Field/Lists.php, line 39

Class

Lists
Field handler to provide a list of CM lists.

Namespace

Drupal\campaignmonitor_local\Plugin\views\field

Code

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