public function TrackerUser::fields in Drupal 8
Same name and namespace in other branches
- 9 core/modules/tracker/src/Plugin/migrate/source/d7/TrackerUser.php \Drupal\tracker\Plugin\migrate\source\d7\TrackerUser::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
- core/
modules/ tracker/ src/ Plugin/ migrate/ source/ d7/ TrackerUser.php, line 27
Class
- TrackerUser
- Drupal 7 tracker user source from database.
Namespace
Drupal\tracker\Plugin\migrate\source\d7Code
public function fields() {
return [
'nid' => $this
->t('The {user}.nid this record tracks.'),
'uid' => $this
->t('The {users}.uid of the node author or commenter.'),
'published' => $this
->t('Boolean indicating whether the node is published.'),
'changed' => $this
->t('The Unix timestamp when the user was most recently saved or commented on.'),
];
}