button-types
2 years ago
conditional-block
2 years ago
exceptions
2 years ago
modules
2 years ago
render
1 year ago
types
1 year ago
action-buttons-manager.php
2 years ago
block-helper.php
2 years ago
blocks-repository-base.php
2 years ago
default-blocks-repository.php
2 years ago
dynamic-value.php
1 year ago
form-builder-blocks-repository.php
1 year ago
module.php
1 year ago
native-block-wrapper-attributes.php
2 years ago
form-builder-blocks-repository.php
39 lines
| 1 | <?php |
| 2 | |
| 3 | |
| 4 | namespace Jet_Form_Builder\Blocks; |
| 5 | |
| 6 | // If this file is called directly, abort. |
| 7 | if ( ! defined( 'WPINC' ) ) { |
| 8 | die; |
| 9 | } |
| 10 | |
| 11 | class Form_Builder_Blocks_Repository extends Blocks_Repository_Base { |
| 12 | |
| 13 | public function rep_instances(): array { |
| 14 | return apply_filters( |
| 15 | 'jet-form-builder/blocks/items', |
| 16 | array( |
| 17 | new Types\Hidden_Field(), |
| 18 | new Types\Number_Field(), |
| 19 | new Types\Date_Field(), |
| 20 | new Types\Time_Field(), |
| 21 | new Types\Calculated_Field(), |
| 22 | new Types\Media_Field(), |
| 23 | new Types\Range_Field(), |
| 24 | new Types\Heading_Field(), |
| 25 | new Types\Textarea_Field(), |
| 26 | new Types\Action_Button(), |
| 27 | new Types\Form_Break_Field(), |
| 28 | new Types\Group_Break_Field(), |
| 29 | new Types\Conditional_Block(), |
| 30 | new Types\Datetime_Field(), |
| 31 | new Types\Color_Picker_Field(), |
| 32 | new Types\Progress_Bar(), |
| 33 | new Types\Form_Break_Start(), |
| 34 | ) |
| 35 | ); |
| 36 | } |
| 37 | |
| 38 | } |
| 39 |