function IconDefinitionInterface::getSource

Get the icon source, path or url.

Return value

string|null The icon source.

1 method overrides IconDefinitionInterface::getSource()
IconDefinition::getSource in core/lib/Drupal/Core/Theme/Icon/IconDefinition.php

File

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

Class

IconDefinitionInterface
Interface for icon definition.

Namespace

Drupal\Core\Theme\Icon

Code

public function getSource() : ?string;

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