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