Skip to content

Commit 7eeb1a0

Browse files
committed
ChannelConfigForm: remove rules section
1 parent 192d6a0 commit 7eeb1a0

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

library/Eventtracker/Web/Form/ChannelConfigForm.php

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,7 @@ protected function assemble()
1515
'label' => $this->translate('Label'),
1616
'required' => true,
1717
]);
18+
/*
1819
$this->addElement('textarea', 'rules', [
1920
'label' => $this->translate('Rules'),
2021
'description' => $this->translate('For now, these are JSON-encoded rules'),
@@ -24,6 +25,8 @@ protected function assemble()
2425
'value' => '[]',
2526
'required' => true,
2627
]);
28+
*/
29+
$this->addHidden('rules', '[]');
2730
$this->addElement('select', 'input_uuids', [
2831
'label' => $this->translate('Single Inputs'),
2932
'description' => $this->translate('Wire specific inputs to this channel'),

0 commit comments

Comments
 (0)