Commit b4b5ec99 authored by mikeryan's avatar mikeryan Committed by Matthias Hutterer
Browse files

Issue #1832746 by mikeryan: Fixed class registration for Migrate 2.5 or later.

parent a9ff4ff5
...@@ -20,7 +20,10 @@ function email_field_info() { ...@@ -20,7 +20,10 @@ function email_field_info() {
* Implements hook_migrate_api(). * Implements hook_migrate_api().
*/ */
function email_migrate_api() { function email_migrate_api() {
return array('api' => 2); return array(
'api' => 2,
'field handlers' => array('MigrateEmailFieldHandler'),
);
} }
/** /**
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment