You are here

public function IconSetInterface::setIcon in Icon API 8

Set icon.

Parameters

string $value: Custom Icon value.

string $key: Custom Icon key.

1 method overrides IconSetInterface::setIcon()
IconSetBase::setIcon in src/Plugin/Icon/IconSetBase.php
Set icon.

File

src/Plugin/Icon/IconSetInterface.php, line 111

Class

IconSetInterface
Interface IconSetInterface

Namespace

Drupal\icon\Plugin\Icon

Code

public function setIcon($value, $key);