You are here

interface ResponsiveMenusPluginInterface in Responsive Menus 8

Interface ResponsiveMenusInterface.

@package Drupal\responsive_menus

Hierarchy

Expanded class hierarchy of ResponsiveMenusPluginInterface

All classes that implement ResponsiveMenusPluginInterface

6 files declare their use of ResponsiveMenusPluginInterface
CodropsGoogleNexus.php in src/Plugin/ResponsiveMenus/CodropsGoogleNexus.php
CodropsResponsiveMulti.php in src/Plugin/ResponsiveMenus/CodropsResponsiveMulti.php
MeanMenu.php in src/Plugin/ResponsiveMenus/MeanMenu.php
MultiLevelPushMenu.php in src/Plugin/ResponsiveMenus/MultiLevelPushMenu.php
ResponsiveMenusSimple.php in src/Plugin/ResponsiveMenus/ResponsiveMenusSimple.php

... See full list

File

src/ResponsiveMenusPluginInterface.php, line 13

Namespace

Drupal\responsive_menus
View source
interface ResponsiveMenusPluginInterface extends ConfigurableInterface {

  /**
   * Provide UI with plugins selector information.
   */
  public static function getSelectorInfo();

  /**
   * Form constructor.
   *
   * @param array $form
   *   An associative array containing the initial structure of the plugin form.
   * @param \Drupal\Core\Form\FormStateInterface $form_state
   *   The current state of the complete form.
   *
   * @return array
   *   The form structure.
   */
  public function settingsForm(array $form, FormStateInterface $form_state);

  /**
   * Get Drupal Javscript settings array.
   *
   * @return array
   *   The Javascript settings array.
   */
  public function getJsSettings();

}

Members

Namesort descending Modifiers Type Description Overrides
ConfigurableInterface::defaultConfiguration public function Gets default configuration for this plugin. 11
ConfigurableInterface::getConfiguration public function Gets this plugin's configuration. 12
ConfigurableInterface::setConfiguration public function Sets the configuration for this plugin instance. 12
ResponsiveMenusPluginInterface::getJsSettings public function Get Drupal Javscript settings array. 1
ResponsiveMenusPluginInterface::getSelectorInfo public static function Provide UI with plugins selector information. 1
ResponsiveMenusPluginInterface::settingsForm public function Form constructor. 1