src/Forms/FieldList.php
public function unshift($item)
    {
        $this->onBeforeInsert($item);
        $item->setContainerFieldList($this);

        return parent::unshift($item);
    }
public function unshift($item)
    {
        $this->onBeforeInsert($item);
        $item->setContainerFieldList($this);

        return parent::unshift($item);
    }
public function unshift ( $ item ) { $ this -> onBeforeInsert ( $ item ) ; $ item -> setContainerFieldList ( $ this ) ; return parent :: unshift ( $ item ) ; }
Push a single field onto the beginning of this FieldList instance.

@param FormField $item The FormField to add
Push a single field onto the beginning of this FieldList instance .