breves migration starting point

Signed-off-by: bachy <git@g-u-i.net>
This commit is contained in:
bachy
2012-09-15 18:52:56 +02:00
parent 18982b6700
commit 0370c6233d
3 changed files with 169 additions and 1 deletions
+9 -1
View File
@@ -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',