concrete/src/Block/BlockType/Set.php
public function deleteKey($bt)
    {
        $btID = (int) (is_object($bt) ? $bt->getBlockTypeID() : $bt);
        if ($btID !== 0) {
            $app = Application::getFacadeApplication();
            $db = $app->make(Connection::class);
            $db->delete('BlockTypeSetBlockTypes', ['btsID' => $this->getBlockTypeSetID(), 'btID' => $btID]);
            $this->rescanDisplayOrder();
        }
    }
public function deleteKey($bt)
    {
        $btID = (int) (is_object($bt) ? $bt->getBlockTypeID() : $bt);
        if ($btID !== 0) {
            $app = Application::getFacadeApplication();
            $db = $app->make(Connection::class);
            $db->delete('BlockTypeSetBlockTypes', ['btsID' => $this->getBlockTypeSetID(), 'btID' => $btID]);
            $this->rescanDisplayOrder();
        }
    }
public function deleteKey ( $ bt ) { $ btID = ( int ) ( is_object ( $ bt ) ? $ bt -> getBlockTypeID ( ) : $ bt ) ; if ( $ btID !== 0 ) { $ app = Application :: getFacadeApplication ( ) ; $ db = $ app -> make ( Connection :: class ) ; $ db -> delete ( 'BlockTypeSetBlockTypes' , [ 'btsID' => $ this -> getBlockTypeSetID ( ) , 'btID' => $ btID ] ) ; $ this -> rescanDisplayOrder ( ) ; } }
Dissociate a specific block type currently associated to this set.

@param \Concrete\Core\Entity\Block\BlockType\BlockType|int $bt A block type (or its ID)
Dissociate a specific block type currently associated to this set .