Craft\Neo_BlockModel::getType PHP Method

getType() public method

Returns the block's type.
public getType ( ) : Neo_BlockTypeModel | null
return Neo_BlockTypeModel | null
    public function getType()
    {
        return $this->typeId ? craft()->neo->getBlockTypeById($this->typeId) : null;
    }