\ColorpaletteField
Synopsis
class ColorpaletteField
extends DropdownField
{
- // methods
- public void __construct()
- public void Field()
- public void getColorWithHash()
Hierarchy
Extends
- DropdownField
Methods
public
- __construct()
- Field()
- getColorWithHash() — Getter that always returns the color with a hash As the standard Silverstripe color picker seems to save colors without a hash, this just makes sure that colors are always returned with a hash - whether they've been saved with or without one