function RegistryParseFilesTestCase::getFiles in Drupal 7
getFiles
1 call to RegistryParseFilesTestCase::getFiles()
- RegistryParseFilesTestCase::testRegistryParseFiles in modules/
simpletest/ tests/ registry.test - testRegistryParseFiles
File
- modules/
simpletest/ tests/ registry.test, line 116
Class
Code
function getFiles() {
$files = array();
foreach ($this->fileTypes as $fileType) {
$files[$this->{$fileType}->fileName] = array(
'module' => '',
'weight' => 0,
);
if ($fileType == 'existing_changed') {
$files[$this->{$fileType}->fileName]['hash'] = $this->{$fileType}->fakeHash;
}
}
return $files;
}