public function WebformDevelCommands::__construct in Webform 6.x
Same name and namespace in other branches
- 8.5 modules/webform_devel/src/Commands/WebformDevelCommands.php \Drupal\webform_devel\Commands\WebformDevelCommands::__construct()
The construct method.
Parameters
\Drupal\Core\State\StateInterface $state: Provides the state system.
\Drupal\user\UserDataInterface $user_data: The user data service.
File
- modules/
webform_devel/ src/ Commands/ WebformDevelCommands.php, line 40
Class
- WebformDevelCommands
- Webform devel commandfile.
Namespace
Drupal\webform_devel\CommandsCode
public function __construct(StateInterface $state, UserDataInterface $user_data) {
parent::__construct();
$this->state = $state;
$this->userData = $user_data;
}