You are here

function menu_bean_load_setting_class in Menu Bean 7

Get the setting class

Parameters

string $key:

Return value

Drupal\menu_bean\Setting\SettingInterface

File

./menu_bean.module, line 77
Bean Plugin definition

Code

function menu_bean_load_setting_class($key) {
  $settings = menu_bean_get_settings($key);
  return $settings['factory']::getSettingInstance($key, $settings);
}