You are here

public function MenuPositionRule::getPluginCollections in Menu Position 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/MenuPositionRule.php, line 242

Class

MenuPositionRule
Defines the MenuPositionRule entity.

Namespace

Drupal\menu_position\Entity

Code

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