class DateRecurInterpreterPluginCollection in Recurring Dates Field 3.x
Same name and namespace in other branches
- 8.2 src/Plugin/DateRecurInterpreterPluginCollection.php \Drupal\date_recur\Plugin\DateRecurInterpreterPluginCollection
- 3.0.x src/Plugin/DateRecurInterpreterPluginCollection.php \Drupal\date_recur\Plugin\DateRecurInterpreterPluginCollection
- 3.1.x src/Plugin/DateRecurInterpreterPluginCollection.php \Drupal\date_recur\Plugin\DateRecurInterpreterPluginCollection
Provides a container for lazily loading date recur interpreter plugins.
Hierarchy
- class \Drupal\Component\Plugin\LazyPluginCollection implements \Drupal\Component\Plugin\IteratorAggregate, \Drupal\Component\Plugin\Countable
- class \Drupal\Core\Plugin\DefaultSingleLazyPluginCollection uses DependencySerializationTrait
- class \Drupal\date_recur\Plugin\DateRecurInterpreterPluginCollection
- class \Drupal\Core\Plugin\DefaultSingleLazyPluginCollection uses DependencySerializationTrait
Expanded class hierarchy of DateRecurInterpreterPluginCollection
1 file declares its use of DateRecurInterpreterPluginCollection
- DateRecurInterpreter.php in src/
Entity/ DateRecurInterpreter.php
File
- src/
Plugin/ DateRecurInterpreterPluginCollection.php, line 13
Namespace
Drupal\date_recur\PluginView source
class DateRecurInterpreterPluginCollection extends DefaultSingleLazyPluginCollection {
/**
* The ID of the date recur interpreter entity using this plugin.
*
* @var string
*/
protected $id;
/**
* Constructs a new DateRecurInterpreterPluginCollection.
*
* @param \Drupal\Component\Plugin\PluginManagerInterface $manager
* The manager to be used for instantiating plugins.
* @param string $instance_id
* The ID of the plugin instance.
* @param array $configuration
* An array of configuration.
* @param string $id
* The ID of the date recur interpreter entity using this plugin.
*/
public function __construct(PluginManagerInterface $manager, $instance_id, array $configuration, $id) {
parent::__construct($manager, $instance_id, $configuration);
$this->id = $id;
}
}
Members
Name | Modifiers | Type | Description | Overrides |
---|---|---|---|---|
DateRecurInterpreterPluginCollection:: |
protected | property | The ID of the date recur interpreter entity using this plugin. | |
DateRecurInterpreterPluginCollection:: |
public | function |
Constructs a new DateRecurInterpreterPluginCollection. Overrides DefaultSingleLazyPluginCollection:: |
|
DefaultSingleLazyPluginCollection:: |
protected | property | An array of configuration to instantiate the plugin with. | |
DefaultSingleLazyPluginCollection:: |
protected | property | The instance ID used for this plugin collection. | |
DefaultSingleLazyPluginCollection:: |
protected | property | The manager used to instantiate the plugins. | |
DefaultSingleLazyPluginCollection:: |
public | function |
Adds an instance ID to the available instance IDs. Overrides LazyPluginCollection:: |
|
DefaultSingleLazyPluginCollection:: |
public | function |
Gets the current configuration of all plugins in this collection. Overrides LazyPluginCollection:: |
|
DefaultSingleLazyPluginCollection:: |
protected | function |
Initializes and stores a plugin. Overrides LazyPluginCollection:: |
2 |
DefaultSingleLazyPluginCollection:: |
public | function |
Sets the configuration for all plugins in this collection. Overrides LazyPluginCollection:: |
|
DependencySerializationTrait:: |
protected | property | ||
DependencySerializationTrait:: |
protected | property | ||
DependencySerializationTrait:: |
public | function | 2 | |
DependencySerializationTrait:: |
public | function | 2 | |
LazyPluginCollection:: |
protected | property | Stores the IDs of all potential plugin instances. | |
LazyPluginCollection:: |
protected | property | Stores all instantiated plugins. | |
LazyPluginCollection:: |
public | function | Clears all instantiated plugins. | 1 |
LazyPluginCollection:: |
public | function | ||
LazyPluginCollection:: |
public | function | Gets a plugin instance, initializing it if necessary. | 8 |
LazyPluginCollection:: |
public | function | Gets all instance IDs. | |
LazyPluginCollection:: |
public | function | ||
LazyPluginCollection:: |
public | function | Determines if a plugin instance exists. | |
LazyPluginCollection:: |
public | function | Removes an initialized plugin. | 1 |
LazyPluginCollection:: |
public | function | Removes an instance ID. | 1 |
LazyPluginCollection:: |
public | function | Stores an initialized plugin. |