You are here

public static function Micon::loadActive in Micon 2.x

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

Class

Micon
Defines the Micon entity.

Namespace

Drupal\micon\Entity

Code

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