function DrupalSystem::getActiveExtensions in X Autoload 7.4
Same name and namespace in other branches
- 7.5 src/DrupalSystem/DrupalSystem.php \Drupal\xautoload\DrupalSystem\DrupalSystem::getActiveExtensions()
Return value
string[] Extension types by extension name.
Overrides DrupalSystemInterface::getActiveExtensions
File
- lib/
DrupalSystem/ DrupalSystem.php, line 43
Class
Namespace
Drupal\xautoload\DrupalSystemCode
function getActiveExtensions() {
// Doing this directly tends to be a lot faster than system_list().
return db_query("SELECT name, type from {system} WHERE status = 1")
->fetchAllKeyed();
}