You are here

public function IconSetBase::getRenderer in Icon API 8

Retrieves the renderer the icon set should implement.

Return value

string The renderer.

Overrides IconSetInterface::getRenderer

File

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

Class

IconSetBase
Class IconSetBase

Namespace

Drupal\icon\Plugin\Icon

Code

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