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