Skip to content

Commit

Permalink
[TASK] sort list of local extensions for optional editing
Browse files Browse the repository at this point in the history
  • Loading branch information
DavidBruchmann committed Apr 3, 2024
1 parent 12d5a62 commit 5bae8c9
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions Classes/Controller/BuilderModuleController.php
Original file line number Diff line number Diff line change
Expand Up @@ -527,14 +527,15 @@ protected function rpcActionSave(): array
}

/**
* Shows a list with available extensions (if they have an ExtensionBuilder.json
* file).
* Shows a list with locally available extensions for editing
* (if they have a file `ExtensionBuilder.json`).
*
* @return array
*/
protected function rpcActionList(): array
{
$extensions = $this->extensionRepository->findAll();
sort($extensions);
return [
'success' => true,
'result' => $extensions,
Expand Down

0 comments on commit 5bae8c9

Please sign in to comment.