You are here

public function UltimenuManager::getSetting in Ultimenu 8

Returns the Ultimenu settings.

Parameters

string $setting_name: The setting name.

Return value

array|null The settings.

Overrides UltimenuManagerInterface::getSetting

8 calls to UltimenuManager::getSetting()
UltimenuManager::buildMenuTree in src/UltimenuManager.php
Build the menu to contain Ultimenu regions.
UltimenuManager::getEnabledBlocks in src/UltimenuManager.php
Returns the enabled Ultimenu blocks.
UltimenuManager::getEnabledRegions in src/UltimenuManager.php
Returns the array of enabled Ultimenu regions based on enabled settings.
UltimenuManager::getRegionKey in src/UltimenuManager.php
Gets the region key.
UltimenuManager::getRegions in src/UltimenuManager.php
The array of available Ultimenu regions based on enabled menu items.

... See full list

File

src/UltimenuManager.php, line 181

Class

UltimenuManager
Manages Ultimenu plugin.

Namespace

Drupal\ultimenu

Code

public function getSetting($setting_name = NULL) {
  return $this
    ->getConfig()
    ->get($setting_name);
}