widgets/DefaultControlDesignTimeProvider.php
public function renderControlBody($type, $properties, $formBuilder)
    {
        if (!in_array($type, $this->defaultControlsTypes)) {
            return $this->renderUnknownControl($type, $properties);
        }

        return $this->makePartial('control-'.$type, [
            'properties'=>$properties,
            'formBuilder' => $formBuilder
        ]);
    }
public function renderControlBody($type, $properties, $formBuilder)
    {
        if (!in_array($type, $this->defaultControlsTypes)) {
            return $this->renderUnknownControl($type, $properties);
        }

        return $this->makePartial('control-'.$type, [
            'properties'=>$properties,
            'formBuilder' => $formBuilder
        ]);
    }
public function renderControlBody ( $ type , $ properties , $ formBuilder ) { if ( ! in_array ( $ type , $ this -> defaultControlsTypes ) ) { return $ this -> renderUnknownControl ( $ type , $ properties ) ; } return $ this -> makePartial ( 'control-' . $ type , [ 'properties' => $ properties , 'formBuilder' => $ formBuilder ] ) ; }
Renders control body.
@param string $type Specifies the control type to render.
@param array $properties Control property values.
@param  \RainLab\Builder\FormWidgets\FormBuilder $formBuilder FormBuilder widget instance.
@return string Returns HTML markup string.
Renders control body .