Admin\Model\PostModel::setOrderPosition PHP Method

setOrderPosition() public method

Method to set new item ordering as first or last.
public setOrderPosition ( Windwalker\Record\Record $record, string $position = self::ORDER_POSITION_LAST ) : void
$record Windwalker\Record\Record Item table to save.
$position string `first` or other are `last`.
return void
    public function setOrderPosition(Record $record, $position = self::ORDER_POSITION_LAST)
    {
        parent::setOrderPosition($record, $position);
    }