You are here

public function IconSetBase::getSettings in Icon API 8

Retrieves an array of settings passed to the renderer.

Return value

array Array of settings.

Overrides IconSetInterface::getSettings

File

src/Plugin/Icon/IconSetBase.php, line 90

Class

IconSetBase
Class IconSetBase

Namespace

Drupal\icon\Plugin\Icon

Code

public function getSettings() {
  return isset($this->pluginDefinition['settings']) ? $this->pluginDefinition['settings'] : [];
}