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