You are here

interface IconProviderInterface in Icon API 8

Interface IconProviderInterface

Hierarchy

Expanded class hierarchy of IconProviderInterface

All classes that implement IconProviderInterface

File

src/Plugin/Icon/IconProviderInterface.php, line 13

Namespace

Drupal\icon\Plugin\Icon
View source
interface IconProviderInterface extends ContainerAwareInterface, ContainerFactoryPluginInterface, DerivativeInspectionInterface, PluginInspectionInterface {

  /**
   * Retrieves the human readable label for the plugin.
   *
   * @return string
   *   The human readable label.
   */
  public function getLabel();

  /**
   * Retrieves the url for more information regarding the provider
   *
   * @return string
   *   The url.
   */
  public function getUrl();

  /**
   * Retrieves an array of settings passed to the renderer.
   *
   * @return array
   *   Array of settings.
   */
  public function getSettings();

}

Members

Namesort descending Modifiers Type Description Overrides
ContainerFactoryPluginInterface::create public static function Creates an instance of the plugin. 112
DerivativeInspectionInterface::getBaseId public function Gets the base_plugin_id of the plugin instance. 1
DerivativeInspectionInterface::getDerivativeId public function Gets the derivative_id of the plugin instance. 1
IconProviderInterface::getLabel public function Retrieves the human readable label for the plugin. 1
IconProviderInterface::getSettings public function Retrieves an array of settings passed to the renderer. 1
IconProviderInterface::getUrl public function Retrieves the url for more information regarding the provider 1
PluginInspectionInterface::getPluginDefinition public function Gets the definition of the plugin implementation. 4
PluginInspectionInterface::getPluginId public function Gets the plugin_id of the plugin instance. 2