You are here

public static function Micon::loadActive in Micon 8

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

Load all Micon packages.

Return value

static[] An array of entity objects indexed by their IDs.

Overrides MiconInterface::loadActive

3 calls to Micon::loadActive()
Micon::loadActiveLabels in src/Entity/Micon.php
Load all active Micon labels.
MiconIconManager::loadIcons in src/MiconIconManager.php
Load all available micon icons.
micon_library_info_alter in ./micon.module
Implements hook_library_info_alter().

File

src/Entity/Micon.php, line 200

Class

Micon
Defines the Micon entity.

Namespace

Drupal\micon\Entity

Code

public static function loadActive() {
  return Micon::loadMultiple(Micon::loadActiveIds());
}