public function ExampleMigration::__construct in Coder 8.3
Same name and namespace in other branches
- 8.3.x tests/DrupalPractice/Objects/drupal7/ExampleMigration.php \ExampleMigration::__construct()
File
- tests/
DrupalPractice/ Objects/ drupal7/ ExampleMigration.php, line 11
Class
- ExampleMigration
- A class from Drupal 7 that should not throw errors.
Code
public function __construct($arguments) {
parent::__construct($arguments);
$this->description = t('Import users from the CSV.');
$columns = [
[
'uuid',
t('UUID'),
],
[
'name',
t('Username'),
],
[
'pass',
t('User password'),
],
[
'email',
t('User email'),
],
[
'role',
t('User role'),
],
[
'site',
t('Site'),
],
[
'first_name',
t('First name'),
],
[
'last_name',
t('Last name'),
],
[
'phone',
t('Phone'),
],
[
'status',
t('Status'),
],
];
}