public function AgreementType::fields in Agreement 8.2
Same name and namespace in other branches
- 3.0.x src/Plugin/migrate/source/d7/AgreementType.php \Drupal\agreement\Plugin\migrate\source\d7\AgreementType::fields()
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
- src/
Plugin/ migrate/ source/ d7/ AgreementType.php, line 20
Class
- AgreementType
- Agreement type migrate source plugin.
Namespace
Drupal\agreement\Plugin\migrate\source\d7Code
public function fields() {
return [
'name' => $this
->t('Unique name'),
'type' => $this
->t('Label'),
'path' => $this
->t('Path'),
'settings' => $this
->t('Settings'),
'agreement' => $this
->t('Agreement'),
];
}