Sminnee\VerboseFields\VerboseOptionsetField
Optionset field with a right hand paragraph in the admin, describing the option you are hovering on or have selected
Synopsis
class VerboseOptionsetField
extends OptionsetField
{
- // methods
- public void Field()
- public void setSourceDescriptions()
- protected ArrayData getFieldOption()
Hierarchy
Extends
- SilverStripe\Forms\OptionsetField
Methods
protected
- getFieldOption() — Build a field option for template rendering. Overridden to include source desciprtion
public
- Field()
- setSourceDescriptions() — Provide a map of option value => description Description should be HTML