code: public function getPriority()
      {
          if (isset($this->object->singleWidget)) {
              if (isset($this->object->singleWidget) && isset($this->object->singleWidget->content->priorityAdjust)) {
                  //\d($this->object->singleWidget->content->priorityAdjust);exit;
                  return $this->_priority + $this->object->singleWidget->content->priorityAdjust;
              }
          }
  
          return $this->_priority;
      }
docs: Get priority.