public function importConfigs(array $configs) {
    $status = [];
    foreach ($configs as $module => $config) {
      foreach ($config as $configName => $configHash) {
        $status[] = $this->importConfig($module, $configName, $configHash);
      }
    }

    return !in_array(false, $status);
  }
public function importConfigs(array $configs) {
    $status = [];
    foreach ($configs as $module => $config) {
      foreach ($config as $configName => $configHash) {
        $status[] = $this->importConfig($module, $configName, $configHash);
      }
    }

    return !in_array(false, $status);
  }
public function importConfigs ( array $ configs ) { $ status = [ ] ; foreach ( $ configs as $ module => $ config ) { foreach ( $ config as $ configName => $ configHash ) { $ status [ ] = $ this -> importConfig ( $ module , $ configName , $ configHash ) ; } } return ! in_array ( false , $ status ) ; }
Import many config files at once.

@param array $configs
Two dimensional array with structure "module_name" => ["config_file_name" => "config_hash"]

@return bool
Returns if all of the configs were imported successfully.
Import many config files at once .