Skip to content
Snippets Groups Projects

Adds lists of modules for command line and project installer.

This adds a list of available modules to the bottom of the Backdrop Upgrade Status report. There is a Bee command that can be cut and pasted to download all the modules at once. There is also a list of the machine names with each of them on a new line so it can be cut and pasted into the Backdrop Project Installer.

For a site with many modules this would streamline the process of getting the Backdrop site ready for an upgrade.

Merge request reports

Loading
Loading

Activity

Filter activity
  • Approvals
  • Assignees & reviewers
  • Comments (from bots)
  • Comments (from users)
  • Commits & branches
  • Edits
  • Labels
  • Lock status
  • Mentions
  • Merge request status
  • Tracking
445 474 }
475
476 /**
477 * Function to generate a space-separated list of module machine names.
478 *
479 * @param array $data
480 * The array of project data.
481 * @return string
482 * A space-separated string of module machine names.
483 */
484 function generate_module_list($data) {
485 $module_list_line = '';
486 $module_list_break = '';
487 if (is_array($data)) { // Ensure $data is an array.
488 foreach ($data as $project) {
489 if (isset($project['name']) && isset($project['reason']) && $project['reason'] === 'Available') {
Please register or sign in to reply
Loading