You are here

private function EvaluationImplementation::upgradeCheckNodesData in Drupal 8 upgrade evaluation 7

Same name and namespace in other branches
  1. 6 includes/EvaluationImplementation.php \Upgrade_check\EvaluationImplementation::upgradeCheckNodesData()

Fetch nodes data.

File

includes/EvaluationImplementation.php, line 357

Class

EvaluationImplementation

Namespace

Upgrade_check

Code

private function upgradeCheckNodesData() {
  $result = array();
  $param = array(
    't' => 'node_type',
    'a' => 'n',
    'f' => array(
      'type',
      'module',
    ),
  );
  $nodes = $this
    ->generateSql($param);
  foreach ($nodes as $node) {
    $result[] = array(
      'name' => $this
        ->generateCryptName($node->type),
      'module' => $node->module,
    );
  }
  return $result;
}