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