function IconDefinitionInterface::getSource

Same name and namespace in other branches
  1. 11.x core/lib/Drupal/Core/Theme/Icon/IconDefinitionInterface.php \Drupal\Core\Theme\Icon\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
Get the icon source, path or url.

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.