public function LibraryTransaction::fields in Library 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
- src/
Plugin/ migrate/ source/ d6/ LibraryTransaction.php, line 35
Class
- LibraryTransaction
- Drupal 6 library transaction source.
Namespace
Drupal\library\Plugin\migrate\source\d6Code
public function fields() {
return [
'tid' => $this
->t('Transaction id'),
'item_id' => $this
->t('Library item ID'),
'nid' => $this
->t('Node ID'),
'uid' => $this
->t('User id'),
'action_aid' => $this
->t('Action state the transaction takes'),
'duedate' => $this
->t('Due date'),
'notes' => $this
->t('Notes on item'),
'created' => $this
->t('Created'),
];
}