You are here

public function DateMigrateFieldHandler::__construct in Date 7.3

Same name and namespace in other branches
  1. 8 date_migrate/date.migrate.inc \DateMigrateFieldHandler::__construct()
  2. 7.2 date.migrate.inc \DateMigrateFieldHandler::__construct()

Declares the types of fields used.

Overrides MigrateHandler::__construct

File

./date.migrate.inc, line 20

Class

DateMigrateFieldHandler
Support for migration into Date fields.

Code

public function __construct() {
  $this
    ->registerTypes(array(
    'date',
    'datestamp',
    'datetime',
  ));
}