function IconDefinition::getLibrary

Overrides IconDefinitionInterface::getLibrary

File

core/lib/Drupal/Core/Theme/Icon/IconDefinition.php, line 179

Class

IconDefinition
Handle an icon definition.

Namespace

Drupal\Core\Theme\Icon

Code

public function getLibrary() : ?string {
    return $this->data['library'] ?? NULL;
}

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