CodeExplorer setShowInFrontend example
public function createType(string
$name, array
$type): Type
{ $class =
new Type();
$class->
setName($type['name'
]);
$class->
setInternalName($name);
if (isset($type['source'
])) { $class->
setSource($type['source'
]);
} if (isset($type['showInFrontend'
])) { $class->
setShowInFrontend($type['showInFrontend'
]);
} if (isset($type['menuIcon'
])) { $class->
setMenuIcon($type['menuIcon'
]);
} if (isset($type['menuPosition'
])) { $class->
setMenuPosition($type['menuPosition'
]);
} if (isset($type['menuParent'
])) {