public function setPosition($value)
    {
        if (!ControlPosition::getIsValid($value)) {
            throw new InvalidConfigException('Unknown "position" value');
        }
        $this->options['position'] = new JsExpression($value);
    }
public function setPosition($value)
    {
        if (!ControlPosition::getIsValid($value)) {
            throw new InvalidConfigException('Unknown "position" value');
        }
        $this->options['position'] = new JsExpression($value);
    }
public function setPosition ( $ value ) { if ( ! ControlPosition :: getIsValid ( $ value ) ) { throw new InvalidConfigException ( 'Unknown "position" value' ) ; } $ this -> options [ 'position' ] = new JsExpression ( $ value ) ; }
Sets the position of the control.

@param $value

@throws \yii\base\InvalidConfigException
Sets the position of the control .