public static Updater::findInfoFile($directory)
Determines what the most important (or only) info file is in a directory.
Since there is no enforcement of which info file is the project's "main" info file, this will get one with the same name as the directory, or the first one it finds. Not ideal, but needs a larger solution.
Parameters
string $directory: Directory to search in.
Return value
string Path to the info file.
File
core/lib/Drupal/Core/Updater/Updater.php, line 109
Class
Update