drupal 8 load node by id code example Example: load node by id drupal 8 $node = \Drupal::entityTypeManager()->getStorage('node')->load($nid);