public function SupportTicketReference::fields in Support Ticketing System 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
- modules/
support_ticket/ src/ Plugin/ migrate/ source/ d6/ SupportTicketReference.php, line 51 - Contains \Drupal\support_ticket\Plugin\migrate\source\d6\SupportTicketReference.
Class
- SupportTicketReference
- Drupal 6 support ticket source from database.
Namespace
Drupal\support_ticket\Plugin\migrate\source\d6Code
public function fields() {
$fields = array(
'nid' => $this
->t('Support Ticket ID'),
'rnid' => $this
->t('Referenced Support Ticket ID'),
);
return $fields;
}