select('tracker_node', 'tn')->fields('tn'); } /** * {@inheritdoc} */ 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.'), ]; } /** * {@inheritdoc} */ public function getIds() { $ids['nid']['type'] = 'integer'; return $ids; } }