App\FieldTypes\Category::getSettingsView PHP Method

getSettingsView() public method

Dynamic Field 설정 페이지에서 각 fieldType 에 필요한 설정 등록 페이지 반환 return html tag string
public getSettingsView ( ConfigEntity $config = null ) : string
$config Xpressengine\Config\ConfigEntity config entity
return string
    public function getSettingsView(ConfigEntity $config = null)
    {
        $category = null;
        if ($config != null) {
            $category = CategoryModel::find($config->get('categoryId'));
        }
        XeFrontend::rule('dynamicFieldSection', $this->getSettingsRules());
        return View::make('dynamicField/category/createType', ['config' => $config, 'category' => $category])->render();
    }