Function Hook_import_cms_merge->pre_import_tests
Definitions
sources/hooks/modules/admin_import/cms_merge.php
- Do some tests, to make sure we're happy to continue importing.
- Visibility: public
- Is abstract?: No
- Is static?: No
- Is final?: No
- Return: object
Parameters
Name | Type | Default | Set | Range | Description |
---|---|---|---|---|---|
$db | object | required parameter | N/A | N/A | The database connector to import from |
$table_prefix | string | required parameter | N/A | N/A | The table prefix the target prefix is using |
$file_base | PATH | required parameter | N/A | N/A | The base directory we are importing from |
Return
- Error/warning UI (null: no error/warning)
- Type: ?Tempcode
- Set: N/A
- Range: N/A