public static function Micon::loadActiveIds in Micon 8
Same name and namespace in other branches
- 2.x 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 207
Class
- Micon
- Defines the Micon entity.
Namespace
Drupal\micon\EntityCode
public static function loadActiveIds() {
$query = \Drupal::entityQuery('micon')
->condition('status', 1);
return $query
->execute();
}