function IconExtractorBase::label

Overrides IconExtractorInterface::label

File

core/lib/Drupal/Core/Theme/Icon/IconExtractorBase.php, line 35

Class

IconExtractorBase
Base class for icon extractor plugins.

Namespace

Drupal\Core\Theme\Icon

Code

public function label() : string {
    return (string) $this->pluginDefinition['label'];
}

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