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