The quote as phrased is a bit non-sensical really because it mostly hinges on what you define as 'sleep' or 'rest'. Plants, like most living things, including us, are far from dormant at night.
It's true that diurnal patterns govern the behaviour of most, if not all, living things that are exposed to them (1). Plants are no exception to this.
For example, photosynthesis is a 2-component process. With the so called 'dark' and 'light' reactions of photosynthesis (more correctly "light-dependent" and "light-independent"). Though both happen during the day and night, it is at it's peak during peak sunlight.
In CAM plants, to avoid dessication, there is differential carbon fixation because the stomata are kept shut during the hot daylight hours.
Respiration however, where the produced food is converted to energy, primarily happens at night.
The Khan Academy has a great 'walkthrough' of the steps of photosynthesis:
(1). The diurnal course of plant water potential, stomatal conductance and transpiration in a papyrus (Cyperus papyrus L.) canopy