You are here

public function SystemListLoader::fetchBootstrapSystemList in X Autoload 7.5

Return value

object[]

File

tests/src/VirtualDrupal/SystemListLoader.php, line 24

Class

SystemListLoader

Namespace

Drupal\xautoload\Tests\VirtualDrupal

Code

public function fetchBootstrapSystemList() {
  $bootstrapList = array();
  foreach ($this->systemTable
    ->systemTableSortedObjects(NULL, 'module') as $name => $record) {
    if (1 == $record->status && 1 == $record->bootstrap) {
      $bootstrapList[$name] = (object) array(
        'name' => $record->name,
        'filename' => $record->filename,
      );
    }
  }
  return $bootstrapList;
}