The commands Text to Path, Text along Path, and Rasterize only appear in the Layer menu when a text layer is selected.
「Rasterize, Revert Rasterize」
「Text to Path」
「パスに沿ってテキストを変形」