You are here

public function IconRendererBase::getPath in Icon API 8

Retrieves the path where the file is located.

Return value

string The path to the file.

Overrides IconRendererInterface::getPath

File

src/Plugin/Icon/IconRendererBase.php, line 51

Class

IconRendererBase
Class IconRendererBase

Namespace

Drupal\icon\Plugin\Icon

Code

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