interface IconManagerServiceInterface in Font Awesome Icons 8.2
Provides an interface for icon manager.
Hierarchy
- interface \Drupal\fontawesome_iconpicker_widget\IconManagerServiceInterface
Expanded class hierarchy of IconManagerServiceInterface
All classes that implement IconManagerServiceInterface
1 file declares its use of IconManagerServiceInterface
- FontAwesomeIconpickerWidget.php in modules/
fontawesome_iconpicker_widget/ src/ Plugin/ Field/ FieldWidget/ FontAwesomeIconpickerWidget.php
File
- modules/
fontawesome_iconpicker_widget/ src/ IconManagerServiceInterface.php, line 8
Namespace
Drupal\fontawesome_iconpicker_widgetView source
interface IconManagerServiceInterface {
/**
* Get formatted icon list.
*
* @return array
* An array of icons.
*/
public function getFormattedIconList();
/**
* Get formatted term list.
*
* @return array
* An array of search terms.
*/
public function getFormattedTermList();
/**
* Get icon base name from class.
*
* @param string $class
* The icon class name.
*
* @return string
* The icon base name.
*/
public function getIconBaseNameFromClass($class);
/**
* Get icon prefix from class.
*
* @param string $class
* The icon class name.
*
* @return string
* The icon style prefix.
*/
public function getIconPrefixFromClass($class);
}
Members
Name![]() |
Modifiers | Type | Description | Overrides |
---|---|---|---|---|
IconManagerServiceInterface:: |
public | function | Get formatted icon list. | 1 |
IconManagerServiceInterface:: |
public | function | Get formatted term list. | 1 |
IconManagerServiceInterface:: |
public | function | Get icon base name from class. | 1 |
IconManagerServiceInterface:: |
public | function | Get icon prefix from class. | 1 |