@@ -8,7 +8,7 @@
|
||||
* that the file can be displayed nicely in default-sized consoles.
|
||||
*/
|
||||
define('MIG_MAT_SRC_DB', variable_get('migrate_materio_database', ''));
|
||||
|
||||
define('MIG_MAT_SRC_DB_D6', variable_get('migrate_materio_database_drupal6', ''));
|
||||
|
||||
/**
|
||||
* You must implement hook_migrate_api(), setting the API level to 2, for
|
||||
@@ -51,6 +51,14 @@ function migrate_materio_settings($form, &$form_state) {
|
||||
'#required' => TRUE,
|
||||
);
|
||||
|
||||
$form['migrate_materio_database_drupal6'] = array(
|
||||
'#type' => 'textfield',
|
||||
'#title' => 'Drupal 6 Database name',
|
||||
'#default_value' => variable_get('migrate_materio_database_drupal6', ''),
|
||||
'#description' => t('Please enter the name of the drupal 6 database. Note that the database must be accessible by current website db user and must reside on the same db server.'),
|
||||
'#required' => TRUE,
|
||||
);
|
||||
|
||||
// $form['redcat_migration_file_path'] = array(
|
||||
// '#type' => 'textfield',
|
||||
// '#title' => 'Migrated Files Path',
|
||||
|
||||
Reference in New Issue
Block a user