function IconDefinitionInterface::getTemplate

Get the icon Twig template.

Return value

string The icon template.

1 method overrides IconDefinitionInterface::getTemplate()
IconDefinition::getTemplate in core/lib/Drupal/Core/Theme/Icon/IconDefinition.php
Get the icon Twig template.

File

core/lib/Drupal/Core/Theme/Icon/IconDefinitionInterface.php, line 141

Class

IconDefinitionInterface
Interface for icon definition.

Namespace

Drupal\Core\Theme\Icon

Code

public function getTemplate() : string;

Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.