Vector magnetic fields in prominences. III: He I D3 Stokes profiles analysis for quiescent and eruptive prominences