Drupal 8 entityQuery

# 获取所有的Node,返回ID
$ids = \Drupal::entityQuery('node')->execute();
dpm($ids);

# 根据条件进行查询
$EntityQueryGetId = \Drupal::entityQuery('project_list')
->condition('field_short_name', $content['field_module_name'])->execute();