interface UltimenuInterface in Ultimenu 8.2
Interface for Ultimenu plugins.
Hierarchy
- interface \Drupal\ultimenu\UltimenuInterface
Expanded class hierarchy of UltimenuInterface
All classes that implement UltimenuInterface
File
- src/
UltimenuInterface.php, line 8
Namespace
Drupal\ultimenuView source
interface UltimenuInterface {
/**
* Returns the entity type manager.
*/
public function getEntityTypeManager();
/**
* Returns the block manager.
*/
public function getBlockManager();
/**
* Returns the Config Factory object.
*
* @param string $config
* The setting storage name.
*
* @return class
* The \Drupal\Core\Config\ConfigFactoryInterface instance.
*/
public function getConfig($config = 'ultimenu.settings');
/**
* Returns the Ultimenu settings.
*
* @param string $setting_name
* The setting name.
*
* @return array|null
* The settings by its key/ name.
*/
public function getSetting($setting_name = NULL);
}
Members
Name | Modifiers | Type | Description | Overrides |
---|---|---|---|---|
UltimenuInterface:: |
public | function | Returns the block manager. | 1 |
UltimenuInterface:: |
public | function | Returns the Config Factory object. | |
UltimenuInterface:: |
public | function | Returns the entity type manager. | 1 |
UltimenuInterface:: |
public | function | Returns the Ultimenu settings. |