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