function _domain_menus_get_setting in Domain Menus for Domains 3.x
Same name and namespace in other branches
- 9.x domain_menus.module \_domain_menus_get_setting()
- 9.1.x domain_menus.module \_domain_menus_get_setting()
Helper function to get domain_menus settings by name.
2 calls to _domain_menus_get_setting()
- domain_menus_domain_insert in ./
domain_menus.module - Implements hook_ENTITY_TYPE_insert().
- domain_menus_form_alter in ./
domain_menus.module - Implements hook_form_alter().
File
- ./
domain_menus.module, line 50 - Domain menus implementation through entity create, delete, and access customizations.
Code
function _domain_menus_get_setting($key) {
return \Drupal::config(DOMAIN_MENUS_SETTINGS)
->get($key);
}