You are here

public function IconSetBase::getAttached in Icon API 8

Retrieves an array of resources to be loaded alongside the icon set.

Return value

array The plugin settings.

Overrides IconSetInterface::getAttached

File

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

Class

IconSetBase
Class IconSetBase

Namespace

Drupal\icon\Plugin\Icon

Code

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