Skip to content

[docs] Fix imports in External Services examples #1350

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
May 13, 2025
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 4 additions & 4 deletions docs/apis/subsystems/external/functions.md
Original file line number Diff line number Diff line change
Expand Up @@ -60,10 +60,10 @@ Please note that deprecation notices will be added to this pathway from Moodle 4

namespace local_groupmanager\external;

use external_function_parameters;
use external_multiple_structure;
use external_single_structure;
use external_value;
use core_external\external_function_parameters;
use core_external\external_multiple_structure;
use core_external\external_single_structure;
use core_external\external_value;

class create_groups extends \core_external\external_api {
public static function execute_parameters(): external_function_parameters {
Expand Down
8 changes: 4 additions & 4 deletions docs/apis/subsystems/external/writing-a-service.md
Original file line number Diff line number Diff line change
Expand Up @@ -145,10 +145,10 @@ This will be located in the file `local/groupmanager/classes/external/create_gro
<?php
namespace local_groupmanager\external;

use external_function_parameters;
use external_multiple_structure;
use external_single_structure;
use external_value;
use core_external\external_function_parameters;
use core_external\external_multiple_structure;
use core_external\external_single_structure;
use core_external\external_value;

class create_groups extends \core_external\external_api {

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -60,10 +60,10 @@ Please note that deprecation notices will be added to this pathway from Moodle 4

namespace local_groupmanager\external;

use external_function_parameters;
use external_multiple_structure;
use external_single_structure;
use external_value;
use core_external\external_function_parameters;
use core_external\external_multiple_structure;
use core_external\external_single_structure;
use core_external\external_value;

class create_groups extends \core_external\external_api {
public static function execute_parameters(): external_function_parameters {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -145,10 +145,10 @@ This will be located in the file `local/groupmanager/classes/external/create_gro
<?php
namespace local_groupmanager\external;

use external_function_parameters;
use external_multiple_structure;
use external_single_structure;
use external_value;
use core_external\external_function_parameters;
use core_external\external_multiple_structure;
use core_external\external_single_structure;
use core_external\external_value;

class create_groups extends \core_external\external_api {

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -60,10 +60,10 @@ Please note that deprecation notices will be added to this pathway from Moodle 4

namespace local_groupmanager\external;

use external_function_parameters;
use external_multiple_structure;
use external_single_structure;
use external_value;
use core_external\external_function_parameters;
use core_external\external_multiple_structure;
use core_external\external_single_structure;
use core_external\external_value;

class create_groups extends \core_external\external_api {
public static function execute_parameters(): external_function_parameters {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -145,10 +145,10 @@ This will be located in the file `local/groupmanager/classes/external/create_gro
<?php
namespace local_groupmanager\external;

use external_function_parameters;
use external_multiple_structure;
use external_single_structure;
use external_value;
use core_external\external_function_parameters;
use core_external\external_multiple_structure;
use core_external\external_single_structure;
use core_external\external_value;

class create_groups extends \core_external\external_api {

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -60,10 +60,10 @@ Please note that deprecation notices will be added to this pathway from Moodle 4

namespace local_groupmanager\external;

use external_function_parameters;
use external_multiple_structure;
use external_single_structure;
use external_value;
use core_external\external_function_parameters;
use core_external\external_multiple_structure;
use core_external\external_single_structure;
use core_external\external_value;

class create_groups extends \core_external\external_api {
public static function execute_parameters(): external_function_parameters {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -145,10 +145,10 @@ This will be located in the file `local/groupmanager/classes/external/create_gro
<?php
namespace local_groupmanager\external;

use external_function_parameters;
use external_multiple_structure;
use external_single_structure;
use external_value;
use core_external\external_function_parameters;
use core_external\external_multiple_structure;
use core_external\external_single_structure;
use core_external\external_value;

class create_groups extends \core_external\external_api {

Expand Down