You are here

public static function SettingsFactory::getSettingInstance in Menu Bean 7

Get the Settings Form Class

Parameters

$key:

$info:

Return value

SettingInterface

Throws

MenuBeanException

File

lib/Drupal/menu_bean/SettingsFactory.php, line 26
Settings Plugin Factor

Class

SettingsFactory
Class SettingsFactor @singleton

Namespace

Drupal\menu_bean

Code

public static function getSettingInstance($key, $info) {
  return self::getInstance($key, menu_bean_get_settings_class($info), 'Drupal\\menu_bean\\Form\\SettingInterface');
}