Prechádzať zdrojové kódy

first import

Signed-off-by: bachy <git@g-u-i.net>
bachy 13 rokov pred
commit
f62d12ba55
2 zmenil súbory, kde vykonal 61 pridanie a 0 odobranie
  1. 29 0
      migrate_materio.info
  2. 32 0
      migrate_materio.module

+ 29 - 0
migrate_materio.info

@@ -0,0 +1,29 @@
+name = Migrate Materio
+description = "Migrate module to migrate the old materio base to drupal"
+
+; Core version (required)
+core = 7.x
+
+; Package name (see http://drupal.org/node/542202 for a list of names)
+; package = 
+
+; PHP version requirement (optional)
+; php = 5.2
+
+; Loadable code files
+; files[] = migrate_materio.module
+; files[] = migrate_materio.admin.inc
+; files[] = migrate_materio.class.inc
+
+; Module dependencies
+	dependencies[] = migrate
+; dependencies[] = theirmodule (1.2)
+; dependencies[] = anothermodule (>=2.4)
+; dependencies[] = views (3.x)
+
+; Configuration page
+; configure = admin/config/migrate_materio
+
+
+; For further information about configuration options, see
+; - http://drupal.org/node/542202

+ 32 - 0
migrate_materio.module

@@ -0,0 +1,32 @@
+<?php
+/**
+ * @file
+ * This is the file description for Migrate Materio module.
+ *
+ * In this more verbose, multi-line description, you can specify what this
+ * file does exactly. Make sure to wrap your documentation in column 78 so
+ * that the file can be displayed nicely in default-sized consoles.
+ */
+
+/**
+ * Implements hook_menu().
+ */
+function migrate_materio_menu() {
+  $items = array();
+
+  // Type '$item ⇥' to create a new menu item.
+
+  return $items;
+}
+
+
+/**
+ * You must implement hook_migrate_api(), setting the API level to 2, for
+ * your migration classes to be recognized by the Migrate module (for the 7.x-2.x branch).
+ */
+function migrate_materio_migrate_api() {
+  $api = array(
+    'api' => 2,
+  );
+  return $api;
+}