You are here

public function Micon::type in Micon 8

Same name and namespace in other branches
  1. 2.x src/Entity/Micon.php \Drupal\micon\Entity\Micon::type()

Gets the type of package.

Return value

string Either 'font' or 'image'.

Overrides MiconInterface::type

1 call to Micon::type()
Micon::getIcons in src/Entity/Micon.php
Get Micon package icons with tag as key.

File

src/Entity/Micon.php, line 106

Class

Micon
Defines the Micon entity.

Namespace

Drupal\micon\Entity

Code

public function type() {
  return $this->type;
}