You are here

public function YamlFormEntitySettingsForm::__construct in YAML Form 8

Constructs a new YamlFormUiElementFormBase.

Parameters

\Drupal\Core\Session\AccountInterface $current_user: The current user.

\Drupal\yamlform\YamlFormMessageManagerInterface $message_manager: The message manager.

\Drupal\yamlform\YamlFormTokenManagerInterface $token_manager: The token manager.

File

src/YamlFormEntitySettingsForm.php, line 51

Class

YamlFormEntitySettingsForm
Provides a form to manage settings.

Namespace

Drupal\yamlform

Code

public function __construct(AccountInterface $current_user, YamlFormMessageManagerInterface $message_manager, YamlFormTokenManagerInterface $token_manager) {
  $this->currentUser = $current_user;
  $this->messageManager = $message_manager;
  $this->tokenManager = $token_manager;
}