function BlockPluginCollection::get

Same name in other branches
  1. 9 core/modules/block/src/BlockPluginCollection.php \Drupal\block\BlockPluginCollection::get()
  2. 8.9.x core/modules/block/src/BlockPluginCollection.php \Drupal\block\BlockPluginCollection::get()
  3. 10 core/modules/block/src/BlockPluginCollection.php \Drupal\block\BlockPluginCollection::get()

Return value

\Drupal\Core\Block\BlockPluginInterface

Overrides LazyPluginCollection::get

File

core/modules/block/src/BlockPluginCollection.php, line 44

Class

BlockPluginCollection
Provides a collection of block plugins.

Namespace

Drupal\block

Code

public function &get($instance_id) {
    return parent::get($instance_id);
}

Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.