entity_page_access() works great as an access callback for hook_menu(), but we need an OO one for routes.
I discussed this with fubhy and he suggested an array value for the requirements key, but Symfony routes only support strings.
entity_page_access() works great as an access callback for hook_menu(), but we need an OO one for routes.
I discussed this with fubhy and he suggested an array value for the requirements key, but Symfony routes only support strings.