public function DomainRecord::fields in Domain Access 8
Returns available fields on the source.
Return value
array Available fields in the source, keys are the field machine names as used in field mappings, values are descriptions.
Overrides MigrateSourceInterface::fields
File
- domain/
src/ Plugin/ migrate/ source/ d7/ DomainRecord.php, line 37
Class
- DomainRecord
- Drupal 7 Domain source from database.
Namespace
Drupal\domain\Plugin\migrate\source\d7Code
public function fields() {
return [
'domain_id' => $this
->t('Domain ID.'),
'subdomain' => $this
->t('Subdomain.'),
'sitename' => $this
->t('Sitename.'),
'scheme' => $this
->t('Scheme.'),
'valid' => $this
->t('Valid.'),
'weight' => $this
->t('Weight.'),
'is_default' => $this
->t('Is default.'),
'machine_name' => $this
->t('Machine name.'),
];
}