Drupal 8 - Node nach Title suchen / laden

<?php

$nodes = \Drupal::entityTypeManager()

  ->getStorage('node')

  ->loadByProperties(['title' => 'Title von Node, den ich suche']);



foreach ( $nodes as $node ) {

  ...

}

...

Neuen Kommentar schreiben

CAPTCHA
This question is for testing whether or not you are a human visitor and to prevent automated spam submissions.

Suche

Neueste Kommentare