DynamicTemplateManifest::setTemplateType
Change the type of a template. If there is a template that has that type, it's type will be reset so there is only one of any given type.
Signature
Parameters
$action
— object- Action the template is in.
$path
— object- Path of file to change
$type
— object- New type; must be Layout, main or "".
Returns
- void