Project question

so in this case, the wire that would normally connect the switch the power is connected to the ground? Or am I miss understanding this?