Dropdown::bootstrap()

Bootstraps the element type by setting properties.

Description

See also

Source

File: src/db-objects/elements/element-types/base/dropdown.php

	protected function bootstrap() {
		$this->slug        = 'dropdown';
		$this->title       = __( 'Dropdown', 'torro-forms' );
		$this->description = __( 'A dropdown element to select a value from.', 'torro-forms' );
		$this->icon_svg_id = 'torro-icon-dropdown';

		$this->add_choices_settings_field();
		$this->add_placeholder_settings_field();
		$this->add_description_settings_field();
		$this->add_required_settings_field();
		$this->add_css_classes_settings_field();
	}

Changelog

Changelog
Version Description
1.0.0 Introduced.