Hook in ColorModel->getList
This commit is contained in:
@@ -154,6 +154,8 @@ class ColorModel extends Base
|
|||||||
$listing[$color_id] = t($color['name']);
|
$listing[$color_id] = t($color['name']);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
$this->hook->reference('model:color:get-list', $listing);
|
||||||
|
|
||||||
return $listing;
|
return $listing;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
@@ -140,6 +140,7 @@ List of reference hooks:
|
|||||||
| `pagination:dashboard:subtask:query` | Alter database query for subtasks pagination on the dashboard |
|
| `pagination:dashboard:subtask:query` | Alter database query for subtasks pagination on the dashboard |
|
||||||
| `model:task:creation:prepare` | Alter form values before to save a task |
|
| `model:task:creation:prepare` | Alter form values before to save a task |
|
||||||
| `model:task:modification:prepare` | Alter form values before to edit a task |
|
| `model:task:modification:prepare` | Alter form values before to edit a task |
|
||||||
|
| `model:color:get-list` | Alter default_colors values |
|
||||||
|
|
||||||
|
|
||||||
Template Hooks
|
Template Hooks
|
||||||
|
|||||||
Reference in New Issue
Block a user