public function getListenersToDetach()
{
// If a blacklist has not been explicitly set, return the default:
if (null === $this->listenersToDetach) {
// We need to detach the InjectViewModelListener to prevent templates
// from getting attached to the ViewModel twice when a calling action
// returns the output generated by a forwarded action.
$this->listenersToDetach = [['id' => 'Zend\\Stdlib\\DispatchableInterface', 'event' => MvcEvent::EVENT_DISPATCH, 'class' => 'Zend\\Mvc\\View\\Http\\InjectViewModelListener']];
}
return $this->listenersToDetach;
}