Drupal Load All Nodes Of Type

[Solved] Drupal Load All Nodes Of Type | Php Frameworks Drupal - Code Explorer | yomemimo.com
Question : drupal load all nodes of type

Answered by : liam-roels

\Drupal::entityTypeManager()->getStorage('node') ->loadByProperties(['type' => 'content_type'])

Source : https://drupal.stackexchange.com/questions/213689/get-all-nodes-of-given-type | Last Update : Wed, 29 Sep 21

Answers related to drupal load all nodes of type

Code Explorer Popular Question For Php Frameworks Drupal