function MenuTreeStorageInterface::loadByProperties

Same name in other branches
  1. 9 core/lib/Drupal/Core/Menu/MenuTreeStorageInterface.php \Drupal\Core\Menu\MenuTreeStorageInterface::loadByProperties()
  2. 10 core/lib/Drupal/Core/Menu/MenuTreeStorageInterface.php \Drupal\Core\Menu\MenuTreeStorageInterface::loadByProperties()
  3. 11.x core/lib/Drupal/Core/Menu/MenuTreeStorageInterface.php \Drupal\Core\Menu\MenuTreeStorageInterface::loadByProperties()

Loads multiple plugin definitions from the storage based on properties.

Parameters

array $properties: The properties to filter by.

Return value

array An array of menu link definition arrays.

Throws

\InvalidArgumentException Thrown if an invalid property name is specified in $properties.

1 method overrides MenuTreeStorageInterface::loadByProperties()
MenuTreeStorage::loadByProperties in core/lib/Drupal/Core/Menu/MenuTreeStorage.php
Loads multiple plugin definitions from the storage based on properties.

File

core/lib/Drupal/Core/Menu/MenuTreeStorageInterface.php, line 74

Class

MenuTreeStorageInterface
Defines an interface for storing a menu tree containing menu link IDs.

Namespace

Drupal\Core\Menu

Code

public function loadByProperties(array $properties);

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