public static function ForumAccess::create in Forum Access 8
File
- forum_access_migrate/
src/ Plugin/ migrate/ destination/ ForumAccess.php, line 74
Class
- ForumAccess
- Provides table destination plugin.
Namespace
Drupal\forum_access_migrate\Plugin\migrate\destinationCode
public static function create(ContainerInterface $container, array $configuration, $plugin_id, $plugin_definition, MigrationInterface $migration = NULL) {
$db_key = !empty($configuration['database_key']) ? $configuration['database_key'] : NULL;
return new static($configuration, $plugin_id, $plugin_definition, $migration, Database::getConnection('default', $db_key));
}