Submodule::__construct( awsmug\Torro_Forms\Modules\Module $module )

Constructor.

Description

See also

Parameters

$module

(awsmug\Torro_Forms\Modules\Module) (Required) The submodule's parent module instance.

Source

File: src/modules/submodule.php

	public function __construct( $module ) {
		$this->module = $module;

		$this->bootstrap();

		$this->logging_context = array(
			'module'    => $this->module->get_slug(),
			'submodule' => $this->get_slug(),
		);
	}

Changelog

Changelog
Version Description
1.0.0 Introduced.