Ah yes Parley P Pratt, the early LDS leader who gave us such great doctrinal proclimations such as this one....
That vegetables as well as animals have spirits, is clearly shown from the fact that they have capacity for joy and rejoicing.... We are compelled to believe that every vegetable, whether small or great, has a living intelligent spirit capable of feeling, knowing, and rejoicing in its sphere....
This is the origin of spiritual vegetables in Heaven. These spiritual vegetables are sent from Heaven to the terrestrial worlds, where, like animals, they take natural tabernacles, which become food for the sustenance of the natural tabernacles of the animal creation. Thus the spirits of both vegetables and animals are the offspring of male and female parents which have been raised from the dead, or redeemed from a fallen condition.... Pratt, The Seer, March 1853, pages 34, 38; July 1853, pages 102-103; see also Doctrine and Covenants 77:1-4.