You are here

public function UltimenuTrait::getSetting in Ultimenu 8.2

14 calls to UltimenuTrait::getSetting()
UltimenuManager::attach in src/UltimenuManager.php
Returns array of needed assets suitable for #attached property.
UltimenuManager::buildMenuItem in src/UltimenuManager.php
Build the Ultimenu item.
UltimenuManager::getEnabledRegions in src/UltimenuManager.php
Returns the array of enabled Ultimenu regions based on enabled settings.
UltimenuManager::getFallbackText in src/UltimenuManager.php
Return the fallback text.
UltimenuManager::getFlyout in src/UltimenuManager.php
Returns the flyout if available.

... See full list

File

src/UltimenuTrait.php, line 27

Class

UltimenuTrait
A Trait common for Ultimenu split services.

Namespace

Drupal\ultimenu

Code

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