public function displayPrimaryField($item, $config = null)
    {
        $field = $this->getPrimaryField($item, $config);

        return $item->$field;
    }
public function displayPrimaryField($item, $config = null)
    {
        $field = $this->getPrimaryField($item, $config);

        return $item->$field;
    }
public function displayPrimaryField ( $ item , $ config = null ) { $ field = $ this -> getPrimaryField ( $ item , $ config ) ; return $ item -> $ field ; }
Display the primary field.

@param $item
@param null $config

@return mixed
Display the primary field .