You are here

public function IconSetBase::getProvider in Icon API 8

Retrieves the provider name corresponding to the icon set.

Return value

string The provider.

Overrides IconSetInterface::getProvider

File

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

Class

IconSetBase
Class IconSetBase

Namespace

Drupal\icon\Plugin\Icon

Code

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