FluidTYPO3\Vhs\ViewHelpers\Resource\Record\AbstractRecordResourceViewHelper::getField PHP Method

getField() public method

public getField ( ) : string
return string
    public function getField()
    {
        $field = $this->arguments['field'];
        if (null === $field) {
            $field = $this->field;
        }
        if (true === empty($field) || false === is_string($field)) {
            throw new Exception('The "field" argument must be specified and must be a string.', 1384611355);
        }
        return $field;
    }