interface LinkIconManagerInterface in Link Icon 8
Interface for linkicon manager.
Hierarchy
- interface \Drupal\linkicon\LinkIconManagerInterface
Expanded class hierarchy of LinkIconManagerInterface
All classes that implement LinkIconManagerInterface
2 files declare their use of LinkIconManagerInterface
- linkicon.module in ./
linkicon.module - A link field formatter to create icon classes based on predefined titles.
- LinkIconFormatter.php in src/
Plugin/ Field/ FieldFormatter/ LinkIconFormatter.php
File
- src/
LinkIconManagerInterface.php, line 8
Namespace
Drupal\linkiconView source
interface LinkIconManagerInterface {
/**
* Play safe predefined option on forms, where DRUPAL_REQUIRED = 2.
*/
const LINKICON_PREDEFINED = 5;
/**
* Returns available settings.
*
* @param string $setting_name
* The setting name.
*
* @return array
* An array of available settings.
*/
public function getSetting($setting_name);
/**
* Returns extracted allowed title values.
*
* @param string $values
* The link title allowed values.
* @param bool $is_tooltip
* If it is for tooltip title or regular link text.
*
* @return array
* An array of allowed title values.
*/
public function extractAllowedValues($values, $is_tooltip = FALSE);
}
Members
Name | Modifiers | Type | Description | Overrides |
---|---|---|---|---|
LinkIconManagerInterface:: |
public | function | Returns extracted allowed title values. | 1 |
LinkIconManagerInterface:: |
public | function | Returns available settings. | 1 |
LinkIconManagerInterface:: |
constant | Play safe predefined option on forms, where DRUPAL_REQUIRED = 2. |