You are here

interface UltimenuInterface in Ultimenu 8.2

Interface for Ultimenu plugins.

Hierarchy

Expanded class hierarchy of UltimenuInterface

All classes that implement UltimenuInterface

File

src/UltimenuInterface.php, line 8

Namespace

Drupal\ultimenu
View 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

Namesort descending Modifiers Type Description Overrides
UltimenuInterface::getBlockManager public function Returns the block manager. 1
UltimenuInterface::getConfig public function Returns the Config Factory object.
UltimenuInterface::getEntityTypeManager public function Returns the entity type manager. 1
UltimenuInterface::getSetting public function Returns the Ultimenu settings.