base-render-state.php
2 years ago
custom-render-state.php
2 years ago
default-state.php
2 years ago
render-state-replace-exception.php
2 years ago
custom-render-state.php
27 lines
| 1 | <?php |
| 2 | |
| 3 | |
| 4 | namespace Jet_Form_Builder\Blocks\Conditional_Block\Render_States; |
| 5 | |
| 6 | class Custom_Render_State extends Base_Render_State { |
| 7 | |
| 8 | private $state_id = ''; |
| 9 | |
| 10 | public function get_title(): string { |
| 11 | return ''; |
| 12 | } |
| 13 | |
| 14 | public function is_supported(): bool { |
| 15 | return true; |
| 16 | } |
| 17 | |
| 18 | public function get_id(): string { |
| 19 | return $this->state_id; |
| 20 | } |
| 21 | |
| 22 | |
| 23 | public function set_id( string $state_id ) { |
| 24 | $this->state_id = $state_id; |
| 25 | } |
| 26 | } |
| 27 |