Drupal 8  8.0.2
BlockPluginCollection Class Reference
Inheritance diagram for BlockPluginCollection:

Public Member Functions

 __construct (PluginManagerInterface $manager, $instance_id, array $configuration, $block_id)
 
get ($instance_id)
 
- Public Member Functions inherited from DefaultSingleLazyPluginCollection
 __construct (PluginManagerInterface $manager, $instance_id, array $configuration)
 
 getConfiguration ()
 
 setConfiguration ($configuration)
 
 addInstanceId ($id, $configuration=NULL)
 
- Public Member Functions inherited from LazyPluginCollection
 getConfiguration ()
 
 setConfiguration ($configuration)
 
 clear ()
 
 has ($instance_id)
 
get ($instance_id)
 
 set ($instance_id, $value)
 
 remove ($instance_id)
 
 addInstanceId ($id, $configuration=NULL)
 
 getInstanceIds ()
 
 removeInstanceId ($instance_id)
 
 getIterator ()
 
 count ()
 

Protected Member Functions

 initializePlugin ($instance_id)
 
- Protected Member Functions inherited from DefaultSingleLazyPluginCollection
 initializePlugin ($instance_id)
 
- Protected Member Functions inherited from LazyPluginCollection
 initializePlugin ($instance_id)
 

Protected Attributes

 $blockId
 
- Protected Attributes inherited from DefaultSingleLazyPluginCollection
 $manager
 
 $configuration
 
 $instanceId
 
- Protected Attributes inherited from LazyPluginCollection
 $pluginInstances = array()
 
 $instanceIDs = array()
 

Detailed Description

Provides a collection of block plugins.

Constructor & Destructor Documentation

__construct ( PluginManagerInterface  $manager,
  $instance_id,
array  $configuration,
  $block_id 
)

Constructs a new BlockPluginCollection.

Parameters
\Drupal\Component\Plugin\PluginManagerInterface$managerThe manager to be used for instantiating plugins.
string$instance_idThe ID of the plugin instance.
array$configurationAn array of configuration.
string$block_idThe unique ID of the block entity using this plugin.

Member Function Documentation

& get (   $instance_id)

{}

Returns
initializePlugin (   $instance_id)
protected

{}

References Drupal\moduleHandler().

Here is the call graph for this function:


The documentation for this class was generated from the following file: