$storage = \Drupal::entityTypeManager()->getStorage('my_custom_config_entity'); $ids = \Drupal::entityQuery('my_custom_config_entity')->execute(); $List = $storage->loadMultiple($ids); foreach($ids as $entity) { $id = $entity->id(); $title = $entity->label(); $custom_field = $entity->get('custom_field'); // See how this line differs from content entities, who would have $entity->get('custom_field')->getString(); }