drupal 8 get node field value programmatically code example
Example: drupal 8 load node by field value
$node = \Drupal::entityTypeManager()
->getStorage('node')
->loadByProperties([
'title' => $title
]);
$node = \Drupal::entityTypeManager()
->getStorage('node')
->loadByProperties([
'title' => $title
]);