How do I retrieve the allowed templates when hooking on processPageAdd::getAllowedTemplates ?
<?php
class AllowedTemplates extends WireData implements Module {
public static function getModuleInfo() {
return array(
'title' => 'AllowedTemplates',
'version' => 1,
'singular' => true,...