public function CustomBlockInterface::getInstances

Gets the configured instances of this custom block.

Return value

array Array of Drupal\block\Core\Plugin\Entity\Block entities.

1 method overrides CustomBlockInterface::getInstances()
CustomBlock::getInstances in drupal/core/modules/block/custom_block/lib/Drupal/custom_block/Plugin/Core/Entity/CustomBlock.php
Gets the configured instances of this custom block.

File

drupal/core/modules/block/custom_block/lib/Drupal/custom_block/CustomBlockInterface.php, line 47
Contains \Drupal\custom_block\Plugin\Core\Entity\CustomBlockInterface.

Class

CustomBlockInterface
Provides an interface defining a custom block entity.

Namespace

Drupal\custom_block

Code

public function getInstances();