protected function FullcalendarPluginCollection::initializePlugin in FullCalendar 8
Same name and namespace in other branches
- 8.5 src/Plugin/FullcalendarPluginCollection.php \Drupal\fullcalendar\Plugin\FullcalendarPluginCollection::initializePlugin()
- 8.2 src/Plugin/FullcalendarPluginCollection.php \Drupal\fullcalendar\Plugin\FullcalendarPluginCollection::initializePlugin()
- 8.3 src/Plugin/FullcalendarPluginCollection.php \Drupal\fullcalendar\Plugin\FullcalendarPluginCollection::initializePlugin()
- 8.4 src/Plugin/FullcalendarPluginCollection.php \Drupal\fullcalendar\Plugin\FullcalendarPluginCollection::initializePlugin()
Initializes and stores a plugin.
Parameters
string $instance_id: The ID of the plugin instance to initialize.
Overrides DefaultLazyPluginCollection::initializePlugin
File
- src/
Plugin/ FullcalendarPluginCollection.php, line 50
Class
- FullcalendarPluginCollection
- @todo.
Namespace
Drupal\fullcalendar\PluginCode
protected function initializePlugin($plugin_id) {
if (isset($this->pluginInstances[$plugin_id])) {
return;
}
$this->pluginInstances[$plugin_id] = $this->manager
->createInstance($plugin_id, [], $this->style);
}