You are here

public static function MegaMenuConfigInterface::loadMenu in The Better Mega Menu 8

Same name and namespace in other branches
  1. 2.x src/MegaMenuConfigInterface.php \Drupal\tb_megamenu\MegaMenuConfigInterface::loadMenu()

Loads the configuration info for the specified menu and theme.

Parameters

string $menu: The menu machine name.

string $theme: The theme machine name.

Return value

MegaMenuConfigInterface Returns the config object or NULL if not found.

1 method overrides MegaMenuConfigInterface::loadMenu()
MegaMenuConfig::loadMenu in src/Entity/MegaMenuConfig.php

File

src/MegaMenuConfigInterface.php, line 71

Class

MegaMenuConfigInterface
Provides an interface defining an megamenu config entity.

Namespace

Drupal\tb_megamenu

Code

public static function loadMenu($menu, $theme);