You are here

protected function DateRecurInterpreter::getPluginCollection in Recurring Dates Field 3.0.x

Same name and namespace in other branches
  1. 8.2 src/Entity/DateRecurInterpreter.php \Drupal\date_recur\Entity\DateRecurInterpreter::getPluginCollection()
  2. 3.x src/Entity/DateRecurInterpreter.php \Drupal\date_recur\Entity\DateRecurInterpreter::getPluginCollection()
  3. 3.1.x src/Entity/DateRecurInterpreter.php \Drupal\date_recur\Entity\DateRecurInterpreter::getPluginCollection()

Get the plugin collection.

Return value

\Drupal\Component\Plugin\LazyPluginCollection The plugin collection.

1 call to DateRecurInterpreter::getPluginCollection()
DateRecurInterpreter::getPluginCollections in src/Entity/DateRecurInterpreter.php
Gets the plugin collections used by this object.

File

src/Entity/DateRecurInterpreter.php, line 90

Class

DateRecurInterpreter
Defines an instance of Recurring Date interpreter.

Namespace

Drupal\date_recur\Entity

Code

protected function getPluginCollection() : LazyPluginCollection {
  if (!isset($this->pluginCollection)) {
    $this->pluginCollection = new DateRecurInterpreterPluginCollection(\Drupal::service('plugin.manager.date_recur_interpreter'), $this->plugin, $this->settings, $this->id);
  }
  return $this->pluginCollection;
}