The commands Text to Path, Text along Path, and Rasterize only appear in the Layer menu when a text layer is selected.
Section 7.11, « Rasterize, Revert Rasterize »
Section 7.12, « Texte vers chemin »
Section 7.13, « Texte le long du chemin »