function TrackerUser::fields

Same name in other branches
  1. 8.9.x core/modules/tracker/src/Plugin/migrate/source/d7/TrackerUser.php \Drupal\tracker\Plugin\migrate\source\d7\TrackerUser::fields()
  2. 10 core/modules/tracker/src/Plugin/migrate/source/d7/TrackerUser.php \Drupal\tracker\Plugin\migrate\source\d7\TrackerUser::fields()
  3. 11.x core/modules/tracker/src/Plugin/migrate/source/d7/TrackerUser.php \Drupal\tracker\Plugin\migrate\source\d7\TrackerUser::fields()

Overrides MigrateSourceInterface::fields

File

core/modules/tracker/src/Plugin/migrate/source/d7/TrackerUser.php, line 32

Class

TrackerUser
Drupal 7 tracker user source from database.

Namespace

Drupal\tracker\Plugin\migrate\source\d7

Code

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.'),
    ];
}

Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.