The commands Discard Text Information, Text to Path, and Text along Path only appear in the Layer menu if a text layer is selected.
Section 7.11, “Rasterize, Revert Rasterize”
Section 7.12, “Text to Path”
Section 7.13, “Text along Path”