public function ForumAccess::__construct in Forum Access 8
File
- forum_access_migrate/
src/ Plugin/ migrate/ destination/ ForumAccess.php, line 55
Class
- ForumAccess
- Provides table destination plugin.
Namespace
Drupal\forum_access_migrate\Plugin\migrate\destinationCode
public function __construct(array $configuration, $plugin_id, $plugin_definition, MigrationInterface $migration, Connection $connection) {
parent::__construct($configuration, $plugin_id, $plugin_definition, $migration, $connection);
$this->dbConnection = $connection;
$this->tableName = 'forum_access';
$this->idFields = [
'tid' => [
'type' => 'integer',
],
'rid' => [
'type' => 'string',
],
];
$this->fields = [];
$this->supportsRollback = TRUE;
}