Craft\Neo_BlockModel::getField PHP Method

getField() public method

Returns the field the block is associated with.
public getField ( ) : craft\FieldModel | null
return craft\FieldModel | null
    public function getField()
    {
        return craft()->fields->getFieldById($this->fieldId);
    }