You are here

public function IconSetBase::getPath in Icon API 8

Retrieves the path where the icon set resource files are located.

Return value

string The path to the file.

Overrides IconSetInterface::getPath

File

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

Class

IconSetBase
Class IconSetBase

Namespace

Drupal\icon\Plugin\Icon

Code

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