You are here

public function MigrateFieldMapping::callback in Migrate 7.2

1 call to MigrateFieldMapping::callback()
MigrateFieldMapping::callbacks in includes/field_mapping.inc

File

includes/field_mapping.inc, line 206
The MigrateFieldMapping class - tracking mappings between source and destination.

Class

MigrateFieldMapping
@file The MigrateFieldMapping class - tracking mappings between source and destination.

Code

public function callback($callback) {
  $this->callbacks[] = array(
    'callback' => $callback,
    'params' => array_slice(func_get_args(), 1),
  );
  return $this;
}