aboutsummaryrefslogtreecommitdiff
path: root/lib/models/Vote.php
diff options
context:
space:
mode:
authorMichaela Brückner <brueckner@data-quest.de>2026-02-02 15:49:36 +0100
committerMichaela Brückner <brueckner@data-quest.de>2026-03-17 10:55:55 +0100
commit0d595d8ce038724ac98e4e1a52396fcd6e9880c1 (patch)
treed2b12b472087dbc9e0e61d8f3f2111cbed87b2e2 /lib/models/Vote.php
parentc483781d9cdfab1ddceaf5d2bb26b85b290062ba (diff)
separate questions from design elements, re #6193
Diffstat (limited to 'lib/models/Vote.php')
-rw-r--r--lib/models/Vote.php5
1 files changed, 5 insertions, 0 deletions
diff --git a/lib/models/Vote.php b/lib/models/Vote.php
index 9941f7e..7c0b32b 100644
--- a/lib/models/Vote.php
+++ b/lib/models/Vote.php
@@ -16,6 +16,11 @@
*/
class Vote extends QuestionnaireQuestion implements QuestionType
{
+ public static function isDesignElement()
+ {
+ return false;
+ }
+
public static function getIcon(bool $active = false) : Icon
{
return Icon::create(static::getIconShape(), $active ? Icon::ROLE_CLICKABLE : Icon::ROLE_INFO);