drupal 8 get all nodes of type

Solutions on MaxInterview for drupal 8 get all nodes of type by the best coders in the world

showing results for - "drupal 8 get all nodes of type"
Felipe
17 Jan 2017
1$nids = \Drupal::entityQuery('node')->condition('type','my_custom_type')->execute();
2$nodes =  \Drupal\node\Entity\Node::loadMultiple($nids);
3
similar questions
drupal 8 add message