function IconDefinition::getIconId

Same name and namespace in other branches
  1. 11.x core/lib/Drupal/Core/Theme/Icon/IconDefinition.php \Drupal\Core\Theme\Icon\IconDefinition::getIconId()

File

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

Class

IconDefinition
Handle an icon definition.

Namespace

Drupal\Core\Theme\Icon

Code

public function getIconId() : string {
  return $this->icon_id;
}

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