src/Core/Modules/Backend/ModuleForm.php
private function AddModuleTypeOption(Select $select, $type)
    {
        if ($type != 'BuiltIn-Container'  ||
                (!Request::GetData('container') && Container::Schema()->Count() > 0))
        {
            $select->AddOption($type, Trans($type));
        }
    }
private function AddModuleTypeOption(Select $select, $type)
    {
        if ($type != 'BuiltIn-Container'  ||
                (!Request::GetData('container') && Container::Schema()->Count() > 0))
        {
            $select->AddOption($type, Trans($type));
        }
    }
private function AddModuleTypeOption ( Select $ select , $ type ) { if ( $ type != 'BuiltIn-Container' || ( ! Request :: GetData ( 'container' ) && Container :: Schema ( ) -> Count ( ) > 0 ) ) { $ select -> AddOption ( $ type , Trans ( $ type ) ) ; } }
Adds the module type option, if allowed
@param Select $select The select box
@param string $type The module type
Adds the module type option if allowed