Skip to content
Snippets Groups Projects

Resolve #3413567 "Create a source"

Closes #3413567

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
  • Adam G-H
  • Adam G-H
  • 121 *
    122 * @return \Drupal\project_browser\ProjectBrowser\Project[]
    123 */
    124 protected function getRecipeData(): array {
    125 $stored_projects = $this->cacheBin->get('DrupalRecipes:projects');
    126 if ($stored_projects) {
    127 return $stored_projects->data;
    128 }
    129
    130 $returned_list = [];
    131 foreach ($this->getRecipes() as $recipe) {
    132 // Dummy data is used for the fields that are unavailable for recipes.
    133 $returned_list[] = (new Project())
    134 ->setProjectStatus(1)
    135 ->setProjectTitle(ucwords(str_replace('-', ' ', explode('/', $recipe['name'])[1])))
    136 ->setMachineName(explode('/', $recipe['name'])[1])
  • Adam G-H
  • Adam G-H
  • Srishti Bankar added 1 commit

    added 1 commit

    • 07c25d4a - Changed metadata endpoint + addressed feedback

    Compare with previous version

  • Srishti Bankar added 1 commit

    added 1 commit

    Compare with previous version

  • Adam G-H
  • Srishti Bankar added 1 commit
  • Loading
  • Loading
  • Loading
  • Loading
  • Loading
  • Loading
  • Loading
  • Loading
  • Loading
  • Loading
  • Please register or sign in to reply
    Loading