function NodeCounter::getIds

Same name in this branch
  1. 8.9.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. 10 core/modules/statistics/src/Plugin/migrate/destination/NodeCounter.php \Drupal\statistics\Plugin\migrate\destination\NodeCounter::getIds()
  4. 10 core/modules/statistics/src/Plugin/migrate/source/NodeCounter.php \Drupal\statistics\Plugin\migrate\source\NodeCounter::getIds()
  5. 11.x core/modules/statistics/src/Plugin/migrate/destination/NodeCounter.php \Drupal\statistics\Plugin\migrate\destination\NodeCounter::getIds()
  6. 11.x 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 39

Class

NodeCounter
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.