public function MenuTreeStorageInterface::loadByProperties
public MenuTreeStorageInterface::loadByProperties(array $properties)
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.
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\MenuCode
public function loadByProperties(array $properties);
© 2001–2016 by the original authors
Licensed under the GNU General Public License, version 2 and later.
Drupal is a registered trademark of Dries Buytaert.
https://api.drupal.org/api/drupal/core!lib!Drupal!Core!Menu!MenuTreeStorageInterface.php/function/MenuTreeStorageInterface::loadByProperties/8.1.x