You are here

public function MenuTreeStorage::loadMultiple in Colossal Menu 8

Same name and namespace in other branches
  1. 2.x src/Menu/MenuTreeStorage.php \Drupal\colossal_menu\Menu\MenuTreeStorage::loadMultiple()

Loads multiple plugin definitions from the storage.

Parameters

array $ids: An array of plugin IDs.

Return value

array An array of plugin definition arrays keyed by plugin ID, which are the actual definitions after the loadMultiple() including all those plugins from $ids.

Overrides MenuTreeStorageInterface::loadMultiple

1 call to MenuTreeStorage::loadMultiple()
MenuTreeStorage::loadTreeData in src/Menu/MenuTreeStorage.php
Loads a menu link tree from the storage.

File

src/Menu/MenuTreeStorage.php, line 104

Class

MenuTreeStorage
Provides a menu tree storage using the database.

Namespace

Drupal\colossal_menu\Menu

Code

public function loadMultiple(array $ids) {
  return $this->storage
    ->loadMultiple($ids);
}