Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR PHP

drupal load all nodes of type

Drupal::entityTypeManager()->getStorage('node')
  ->loadByProperties(['type' => 'content_type'])
Source by drupal.stackexchange.com #
 
PREVIOUS NEXT
Tagged: #drupal #load #nodes #type
ADD COMMENT
Topic
Name
7+8 =