The LIM homeodomain protein ISL1 mediates the function of TCF7L2 in pancreatic beta cells.