nr.vid'; /** * {@inheritdoc} */ public function fields() { // Use all the node fields plus the vid that identifies the version. return parent::fields() + [ 'vid' => t('The primary identifier for this version.'), 'log' => $this->t('Revision Log message'), 'timestamp' => $this->t('Revision timestamp'), ]; } /** * {@inheritdoc} */ public function getIds() { $ids['vid']['type'] = 'integer'; $ids['vid']['alias'] = 'nr'; return $ids; } /** * {@inheritdoc} */ protected function handleTranslations(SelectInterface $query) { // @todo in https://www.drupal.org/node/2746541 } }