function IconExtractorBase::label

Same name and namespace in other branches
  1. 11.x core/lib/Drupal/Core/Theme/Icon/IconExtractorBase.php \Drupal\Core\Theme\Icon\IconExtractorBase::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.