You are here

public function DateRecurInterpreterPluginCollection::__construct in Recurring Dates Field 3.x

Same name and namespace in other branches
  1. 8.2 src/Plugin/DateRecurInterpreterPluginCollection.php \Drupal\date_recur\Plugin\DateRecurInterpreterPluginCollection::__construct()
  2. 3.0.x src/Plugin/DateRecurInterpreterPluginCollection.php \Drupal\date_recur\Plugin\DateRecurInterpreterPluginCollection::__construct()
  3. 3.1.x src/Plugin/DateRecurInterpreterPluginCollection.php \Drupal\date_recur\Plugin\DateRecurInterpreterPluginCollection::__construct()

Constructs a new DateRecurInterpreterPluginCollection.

Parameters

\Drupal\Component\Plugin\PluginManagerInterface $manager: The manager to be used for instantiating plugins.

string $instance_id: The ID of the plugin instance.

array $configuration: An array of configuration.

string $id: The ID of the date recur interpreter entity using this plugin.

Overrides DefaultSingleLazyPluginCollection::__construct

File

src/Plugin/DateRecurInterpreterPluginCollection.php, line 34

Class

DateRecurInterpreterPluginCollection
Provides a container for lazily loading date recur interpreter plugins.

Namespace

Drupal\date_recur\Plugin

Code

public function __construct(PluginManagerInterface $manager, $instance_id, array $configuration, $id) {
  parent::__construct($manager, $instance_id, $configuration);
  $this->id = $id;
}