Opamp Current Sink + FET circuit help
It's designed to deliver a constant current through the LED when the transistor is on.  When the transistor is off, no current flows and the LED is off.

In order to adjust the LED current, adjust R9 accordingly.  Adjusting R17/R18 will work as well.