You are here

public static function MigrateSourceSQL::options in Migrate 7.2

Same name and namespace in other branches
  1. 6.2 plugins/sources/sql.inc \MigrateSourceSQL::options()

Return an options array for PDO sources.

Parameters

boolean $map_joinable: Indicates whether the map table can be joined directly to the source query.

boolean $cache_counts: Indicates whether to cache counts of source records.

File

plugins/sources/sql.inc, line 107
Define a MigrateSource for importing from Drupal connections.

Class

MigrateSourceSQL
Implementation of MigrateSource, to handle imports from Drupal connections.

Code

public static function options($map_joinable, $cache_counts) {
  return compact('map_joinable', 'cache_counts');
}