public function Micon::getName in Micon 2.x
Same name in this branch
- 2.x src/TwigExtension/Micon.php \Drupal\micon\TwigExtension\Micon::getName()
- 2.x src/Entity/Micon.php \Drupal\micon\Entity\Micon::getName()
Same name and namespace in other branches
- 8 src/Entity/Micon.php \Drupal\micon\Entity\Micon::getName()
Get unique IcoMoon package name.
Overrides MiconInterface::getName
1 call to Micon::getName()
- Micon::archiveExtract in src/
Entity/ Micon.php - Properly extract and store an IcoMoon zip file.
File
- src/
Entity/ Micon.php, line 136
Class
- Micon
- Defines the Micon entity.
Namespace
Drupal\micon\EntityCode
public function getName() {
$info = $this
->getInfo();
return isset($info['metadata']['name']) ? $info['metadata']['name'] : str_replace('-', '', $this
->getPrefix());
}