A class of optimal control problems for quasilinear elliptic equations is considered, where the coefficients of the elliptic differential operator depend on the state function. First- and second-order optimality conditions are discussed for an associated control-constrained optimal control problem. Main emphasis is laid on second-order sufficient optimality conditions. To this aim, the regularity of the solutions to the state equation and its linearization is studied in detail and the Pontryagin maximum principle is derived. One of the main difficulties is the nonmonotone character of the state equation.