You are here

public function IconRendererBase::getFile in Icon API 8

Retrieves the file where the preprocessing and theming hooks are defined.

Return value

string The file name.

Overrides IconRendererInterface::getFile

File

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

Class

IconRendererBase
Class IconRendererBase

Namespace

Drupal\icon\Plugin\Icon

Code

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