See this from the language you cite:
The principles of such landscaping include planting the right plant in the right place...
Suspect the court found the village did not abuse its authority to define the right plant and the right place.
But they are not given that authority. The principles are found in guidelines from such authorities as IFAS or the Urban Forester. Now the city can probably request that the vegetables be planted in a more traditional design setting instead of just rows. But an outright ban on veggies that met the intentions of the Florida friendly landscape law would probably be shot down by a judge who knew the Statute.