protected function Micon::getDirectory in Micon 8
Same name and namespace in other branches
- 2.x src/Entity/Micon.php \Drupal\micon\Entity\Micon::getDirectory()
Return the location where Micon packages exist.
Return value
string The unique path to the package directory.
4 calls to Micon::getDirectory()
- Micon::archiveExtract in src/
Entity/ Micon.php - Properly extract and store an IcoMoon zip file.
- Micon::getIcons in src/
Entity/ Micon.php - Get Micon package icons with tag as key.
- Micon::getInfo in src/
Entity/ Micon.php - Get Micon package information.
- Micon::getStylesheet in src/
Entity/ Micon.php - Return the stylesheet of the Micon package if it exists.
File
- src/
Entity/ Micon.php, line 193
Class
- Micon
- Defines the Micon entity.
Namespace
Drupal\micon\EntityCode
protected function getDirectory() {
return $this->directory . '/' . $this
->id();
}