Bootstraps the element type by setting properties.
Description
See also
Source
File: src/db-objects/elements/element-types/base/multiplechoice.php
protected function bootstrap() { $this->slug = 'multiplechoice'; $this->title = __( 'Multiple Choice', 'torro-forms' ); $this->description = __( 'A checkbox group element to select multiple values from.', 'torro-forms' ); $this->icon_svg_id = 'torro-icon-multiplechoice'; $this->add_choices_settings_field(); $this->add_description_settings_field(); $this->add_required_settings_field(); $this->add_css_classes_settings_field(); }
Changelog
Version | Description |
---|---|
1.0.0 | Introduced. |