You are here

public function Micon::type in Micon 2.x

Same name and namespace in other branches
  1. 8 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 114

Class

Micon
Defines the Micon entity.

Namespace

Drupal\micon\Entity

Code

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