src/CoreBundle/Contao/Hooks/ModuleCallback.php
public function getTemplates(\DC_Table $objDC)
    {
        /** @noinspection PhpUndefinedFieldInspection */
        $type = $objDC->activeRecord->type;

        return $this->getTemplateList('mod_' . $type);
    }
public function getTemplates(\DC_Table $objDC)
    {
        /** @noinspection PhpUndefinedFieldInspection */
        $type = $objDC->activeRecord->type;

        return $this->getTemplateList('mod_' . $type);
    }
Fetch the template group for the current MetaModel content element.

@param \DC_Table $objDC The data container calling this method.

@return array