getTemplateGroup() public static method

Return all template files of a particular group as array
public static getTemplateGroup ( string $strPrefix ) : array
$strPrefix string The template name prefix (e.g. "ce_")
return array An array of template names
 /**
  * Collect a template group.
  *
  * @param GetTemplateGroupEvent $event The event.
  *
  * @return void
  */
 public function handleGetTemplateGroup(GetTemplateGroupEvent $event)
 {
     $templatesArray = Controller::getTemplateGroup($event->getPrefix());
     $templates = $event->getTemplates();
     foreach ($templatesArray as $templateName => $templateLabel) {
         $templates[$templateName] = $templateLabel;
     }
 }