Function Hook_task_import_members->run
Definitions
sources/hooks/systems/tasks/import_members.php
- Run the task hook.
- Visibility: public
- Is abstract?: No
- Is static?: No
- Is final?: No
- Return: array
Parameters
Name | Type | Default | Set | Range | Description |
---|---|---|---|---|---|
$default_password | ?string | required parameter | N/A | N/A | The default password to use (null: skip members with no password) |
$use_temporary_passwords | boolean | required parameter | N/A | N/A | Whether to assign temporary passwords |
$path | PATH | required parameter | N/A | N/A | The path of the file to import |
$filename | ?string | required parameter | N/A | N/A | The filename of the file to import (null: detect from $path) |
Return
- A tuple of at least 2: Return mime-type, content (either Tempcode, or a string, or a filename and file-path pair to a temporary file), map of HTTP headers if transferring immediately, map of ini_set commands if transferring immediately (null: show standard success message)
- Type: ?array
- Set: N/A
- Range: N/A