public function setWidget(Widget $widget)
    {
        $this->widget = $widget;

        $this->widget->setOwner($this);

        return $this;
    }
public function setWidget(Widget $widget)
    {
        $this->widget = $widget;

        $this->widget->setOwner($this);

        return $this;
    }
public function setWidget ( Widget $ widget ) { $ this -> widget = $ widget ; $ this -> widget -> setOwner ( $ this ) ; return $ this ; }
Set Widget button near element field

@param Widget $widget

@return $this
Set Widget button near element field