function NodeCounter::getIds

Same name in this branch
  1. 11.x core/modules/statistics/src/Plugin/migrate/destination/NodeCounter.php \Drupal\statistics\Plugin\migrate\destination\NodeCounter::getIds()
Same name in other branches
  1. 9 core/modules/statistics/src/Plugin/migrate/destination/NodeCounter.php \Drupal\statistics\Plugin\migrate\destination\NodeCounter::getIds()
  2. 9 core/modules/statistics/src/Plugin/migrate/source/NodeCounter.php \Drupal\statistics\Plugin\migrate\source\NodeCounter::getIds()
  3. 8.9.x core/modules/statistics/src/Plugin/migrate/destination/NodeCounter.php \Drupal\statistics\Plugin\migrate\destination\NodeCounter::getIds()
  4. 8.9.x core/modules/statistics/src/Plugin/migrate/source/NodeCounter.php \Drupal\statistics\Plugin\migrate\source\NodeCounter::getIds()
  5. 10 core/modules/statistics/src/Plugin/migrate/destination/NodeCounter.php \Drupal\statistics\Plugin\migrate\destination\NodeCounter::getIds()
  6. 10 core/modules/statistics/src/Plugin/migrate/source/NodeCounter.php \Drupal\statistics\Plugin\migrate\source\NodeCounter::getIds()

Overrides MigrateSourceInterface::getIds

File

core/modules/statistics/src/Plugin/migrate/source/NodeCounter.php, line 46

Class

NodeCounter
Drupal 6/7 node counter source from database.

Namespace

Drupal\statistics\Plugin\migrate\source

Code

public function getIds() {
    $ids['nid']['type'] = 'integer';
    return $ids;
}

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