public static function Micon::loadActiveIds in Micon 2.x
Same name and namespace in other branches
- 8 src/Entity/Micon.php \Drupal\micon\Entity\Micon::loadActiveIds()
Load all active Micon IDs.
Return value
static[] An array of entity IDs indexed by their IDs.
Overrides MiconInterface::loadActiveIds
1 call to Micon::loadActiveIds()
- Micon::loadActive in src/
Entity/ Micon.php - Load all Micon packages.
File
- src/
Entity/ Micon.php, line 214
Class
- Micon
- Defines the Micon entity.
Namespace
Drupal\micon\EntityCode
public static function loadActiveIds() {
$query = \Drupal::entityQuery('micon')
->condition('status', 1);
return $query
->execute();
}