diff options
Diffstat (limited to 'app/Model/Color.php')
-rw-r--r-- | app/Model/Color.php | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/app/Model/Color.php b/app/Model/Color.php index f414e837..8668cf0f 100644 --- a/app/Model/Color.php +++ b/app/Model/Color.php @@ -28,4 +28,15 @@ class Color extends Base 'grey' => t('Grey'), ); } + + /** + * Get the default color + * + * @access public + * @return string + */ + public function getDefaultColor() + { + return 'yellow'; // TODO: make this parameter configurable + } } |