function BlockContentInterface::getInstances

Same name and namespace in other branches
  1. 9 core/modules/block_content/src/BlockContentInterface.php \Drupal\block_content\BlockContentInterface::getInstances()
  2. 8.9.x core/modules/block_content/src/BlockContentInterface.php \Drupal\block_content\BlockContentInterface::getInstances()
  3. 10 core/modules/block_content/src/BlockContentInterface.php \Drupal\block_content\BlockContentInterface::getInstances()

Gets the configured instances of this content block.

Return value

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

1 method overrides BlockContentInterface::getInstances()
BlockContent::getInstances in core/modules/block_content/src/Entity/BlockContent.php
Gets the configured instances of this content block.

File

core/modules/block_content/src/BlockContentInterface.php, line 82

Class

BlockContentInterface
Provides an interface defining a content block entity.

Namespace

Drupal\block_content

Code

public function getInstances();

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