Module::bootstrap()

Bootstraps the module by setting properties.

Description

See also

Source

File: src/modules/actions/module.php

	protected function bootstrap() {
		$this->slug        = 'actions';
		$this->title       = __( 'Actions', 'torro-forms' );
		$this->description = __( 'Actions are executed in the moment users submit their form data.', 'torro-forms' );

		$this->submodule_base_class = Action::class;
		$this->default_submodules = array(
			'email_notifications' => Email_Notifications::class,
			'redirection'         => Redirection::class,
		);
	}

Changelog

Changelog
Version Description
1.0.0 Introduced.