You are here

abstract protected function LazyPluginCollection::initializePlugin in Zircon Profile 8

Same name and namespace in other branches
  1. 8.0 core/lib/Drupal/Component/Plugin/LazyPluginCollection.php \Drupal\Component\Plugin\LazyPluginCollection::initializePlugin()

Initializes and stores a plugin.

Parameters

string $instance_id: The ID of the plugin instance to initialize.

1 call to LazyPluginCollection::initializePlugin()
LazyPluginCollection::get in core/lib/Drupal/Component/Plugin/LazyPluginCollection.php
Gets a plugin instance, initializing it if necessary.
3 methods override LazyPluginCollection::initializePlugin()
DefaultLazyPluginCollection::initializePlugin in core/lib/Drupal/Core/Plugin/DefaultLazyPluginCollection.php
Initializes and stores a plugin.
DefaultSingleLazyPluginCollection::initializePlugin in core/lib/Drupal/Core/Plugin/DefaultSingleLazyPluginCollection.php
Initializes and stores a plugin.
TestLazyPluginCollection::initializePlugin in core/modules/system/tests/modules/plugin_test/src/Plugin/TestLazyPluginCollection.php
Initializes and stores a plugin.

File

core/lib/Drupal/Component/Plugin/LazyPluginCollection.php, line 37
Contains \Drupal\Component\Plugin\LazyPluginCollection.

Class

LazyPluginCollection
Defines an object which stores multiple plugin instances to lazy load them.

Namespace

Drupal\Component\Plugin

Code

protected abstract function initializePlugin($instance_id);