You are here

public function WebformVariantFormBase::__construct in Webform 6.x

Same name and namespace in other branches
  1. 8.5 src/Form/WebformVariantFormBase.php \Drupal\webform\Form\WebformVariantFormBase::__construct()

Constructs a WebformVariantFormBase object.

Parameters

\Drupal\webform\WebformTokenManagerInterface $token_manager: The webform token manager.

File

src/Form/WebformVariantFormBase.php, line 62

Class

WebformVariantFormBase
Provides a base webform for webform variants.

Namespace

Drupal\webform\Form

Code

public function __construct(WebformTokenManagerInterface $token_manager) {
  $this->tokenManager = $token_manager;
}