You are here

abstract protected function LazyPluginCollection::initializePlugin in Service Container 7

Same name and namespace in other branches
  1. 7.2 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 lib/Drupal/Component/Plugin/LazyPluginCollection.php
Gets a plugin instance, initializing it if necessary.

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