You are here

public function BlockVisibilityGroup::getPluginCollections in Block Visibility Groups 8

Gets the plugin collections used by this object.

Return value

\Drupal\Component\Plugin\LazyPluginCollection[] An array of plugin collections, keyed by the property name they use to store their configuration.

Overrides ObjectWithPluginCollectionInterface::getPluginCollections

File

src/Entity/BlockVisibilityGroup.php, line 91

Class

BlockVisibilityGroup
Defines the Block Visibility Group entity.

Namespace

Drupal\block_visibility_groups\Entity

Code

public function getPluginCollections() {
  return [
    'conditions' => $this
      ->getConditions(),
  ];
}