interface SettingInterface in Menu Bean 7
Hierarchy
- interface \Drupal\menu_bean\Setting\SettingInterface
Expanded class hierarchy of SettingInterface
All classes that implement SettingInterface
1 file declares its use of SettingInterface
- SettingsFactory.php in lib/
Drupal/ menu_bean/ SettingsFactory.php - Settings Plugin Factor
File
- lib/
Drupal/ menu_bean/ Setting/ SettingInterface.php, line 10 - Interface for setting plugin
Namespace
Drupal\menu_bean\SettingView source
interface SettingInterface {
/**
* Provides form
*
* @param \Bean $bean
* @param $form
* @param $form_state
*/
public function form(\Bean $bean, &$form, &$form_state);
/**
* Alters the menu tree
*
* @param array $tree
* @param \Bean $bean
*/
public function alterTree(array &$tree, \Bean $bean);
}
Members
Name | Modifiers | Type | Description | Overrides |
---|---|---|---|---|
SettingInterface:: |
public | function | Alters the menu tree | 4 |
SettingInterface:: |
public | function | Provides form | 4 |