Backend\ModuleBuilderController::create PHP Method

create() public method

Show the form for creating a new module.
public create ( )
    public function create()
    {
        $select = $this->formDropdownSources();
        $all_modules = Module::latest()->lists('name', 'id');
        $this->layout->title = 'Create New Module';
        $this->layout->content = View::make($this->link_type . '.' . $this->current_theme . '.module_builders.create_edit')->with('all_modules', $all_modules)->with('select', $select)->with('selected_forms', [0]);
    }