main/core/Entity/Home/Content2Type.php
public function detach()
    {
        if ($this->getBack()) {
            $this->getBack()->setNext($this->getNext());
        }

        if ($this->getNext()) {
            $this->getNext()->setBack($this->getBack());
        }
    }
public function detach()
    {
        if ($this->getBack()) {
            $this->getBack()->setNext($this->getNext());
        }

        if ($this->getNext()) {
            $this->getNext()->setBack($this->getBack());
        }
    }
public function detach ( ) { if ( $ this -> getBack ( ) ) { $ this -> getBack ( ) -> setNext ( $ this -> getNext ( ) ) ; } if ( $ this -> getNext ( ) ) { $ this -> getNext ( ) -> setBack ( $ this -> getBack ( ) ) ; } }
Detach a content from a type, this function can be used for reorder or delete contents.
Detach a content from a type this function can be used for reorder or delete contents .