public function GameBaseball::fields in Migrate 7.2
1 call to GameBaseball::fields()
- GameBaseball::__construct in migrate_example_baseball/
migrate_example_baseball.migrate.inc - General initialization of a Migration object.
File
- migrate_example_baseball/
migrate_example_baseball.migrate.inc, line 137 - A baseball game migration example.
Class
- GameBaseball
- A migration that is reused for each source CSV file.
Code
public function fields() {
return array(
'title' => 'A composite field made during prepareRow().',
'home_batters' => 'An array of batters, populated during prepareRow().',
'visiting_batters' => 'An array of batters, populated during prepareRow().',
);
}