public function IconProviderBase::getSettings in Icon API 8
Retrieves an array of settings passed to the renderer.
Return value
array Array of settings.
Overrides IconProviderInterface::getSettings
File
- src/
Plugin/ Icon/ IconProviderBase.php, line 51
Class
- IconProviderBase
- Class IconProviderBase
Namespace
Drupal\icon\Plugin\IconCode
public function getSettings() {
return isset($this->pluginDefinition['settings']) ? $this->pluginDefinition['settings'] : [];
}