Move task creation to a seperate class
This commit is contained in:
@@ -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
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user