Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
KnpMenuBundle で現在アクティブなメニュータイトルを取得する方法は?
ありがとうございました
今のところ、私は以下を使用しますtwig variable:
twig variable
{{ knp_menu_get_current_item('leftsidebar').name }}
leftsidebarそれは私のメニューのサービスの名前です:)
leftsidebar