summaryrefslogtreecommitdiff
path: root/app/Model/ColorModel.php
diff options
context:
space:
mode:
authorBusfreak <martin@middeke.de>2016-09-05 18:39:08 +0200
committerBusfreak <martin@middeke.de>2016-09-05 18:39:08 +0200
commit72e50841609bb13afcb95c77e6536c9b20029141 (patch)
tree04c955c40cee8e796d39a3d74ae3e4cb19bc85b1 /app/Model/ColorModel.php
parent0e154db422508f657e88a2bbe7762df2dc31ca0d (diff)
Hook in ColorModel->getList
Diffstat (limited to 'app/Model/ColorModel.php')
-rw-r--r--app/Model/ColorModel.php2
1 files changed, 2 insertions, 0 deletions
diff --git a/app/Model/ColorModel.php b/app/Model/ColorModel.php
index 9e69dda2..9fa7ff85 100644
--- a/app/Model/ColorModel.php
+++ b/app/Model/ColorModel.php
@@ -154,6 +154,8 @@ class ColorModel extends Base
$listing[$color_id] = t($color['name']);
}
+ $this->hook->reference('model:color:get-list', $listing);
+
return $listing;
}