// Skip if it's a hidden project and the project is a test project. Tests
// should use hook_system_info_alter() to test ProjectInfo's
// functionality.
if (!
empty($file->info
['hidden'
]) &&
isset($file->info
['package'
]) &&
$file->info
['package'
] == 'Testing'
) { continue;
} // If the .info.yml doesn't define the 'project', try to figure it out.
if (!
isset($file->info
['project'
])) { $file->info
['project'
] =
$this->
getProjectName($file);
} // If we still don't know the 'project', give up.
if (empty($file->info
['project'
])) { continue;
} // If we don't already know it, grab the change time on the .info.yml file
// itself. Note: we need to use the ctime, not the mtime (modification
// time) since many (all?) tar implementations will go out of their way to
// set the mtime on the files it creates to the timestamps recorded in the