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 authored and Philipp Kuhlmay committed Apr 4, 2024
1 parent 5917c1c commit 7c8e69e
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 7c8e69e

Please sign in to comment.