You are here

interface IconRendererInterface in Icon API 8

Interface IconRendererInterface

Hierarchy

Expanded class hierarchy of IconRendererInterface

All classes that implement IconRendererInterface

File

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

Namespace

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

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

  /**
   * Retrieves the file where the preprocessing and theming hooks are defined.
   *
   * @return string
   *   The file name.
   */
  public function getFile();

  /**
   * Retrieves the path where the file is located.
   *
   * @return string
   *   The path to the file.
   */
  public function getPath();

}

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
IconRendererInterface::getFile public function Retrieves the file where the preprocessing and theming hooks are defined. 1
IconRendererInterface::getLabel public function Retrieves the human readable label for the plugin. 1
IconRendererInterface::getPath public function Retrieves the path where the file is located. 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