I wrote a form view helper, that extends the Zend\\Form\\View\\Helper\\FormMultiCheckbox
and overwrites its renderOptions(...) method:
here's an example of overriding a view helper:
http://ctrl-f5.net/php/zf2-servicemanager-custom-viewhelpers/
Example:
class Module {
public function onBootstrap(MvcEvent $mvcEvent)
{
$application = $mvcEvent->getApplication();
$serviceManager = $application->getServiceManager();
$viewHelperManager = $serviceManager->get('ViewHelperManager');
$viewHelperManager->setInvokableClass('formmulticheckbox', 'MyNamespace\Form\View\Helper\FormMultiCheckbox');
}
...
}