You are here

abstract protected function LazyPluginCollection::initializePlugin in Plug 7

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 lib/Drupal/Component/Plugin/LazyPluginCollection.php
Gets a plugin instance, initializing it if necessary.
1 method overrides LazyPluginCollection::initializePlugin()
DefaultLazyPluginCollection::initializePlugin in lib/Drupal/Core/Plugin/DefaultLazyPluginCollection.php
Initializes and stores a plugin.

File

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);