menu 8 Menu Overview $page->indexOf() Returns the position / index in the collection $page->indexOf(): int Return type int Source code kirby/src/Cms/HasSiblings.php#L22