/** * generate HTML to display icon for this field type on the "Fields" page */ function image() { if ($this->subfield) { return $this->subfield->image(); } else { return parent::image(); } }