You are here

public function CreateActivityForm::__construct in Activity 8

Constructs an CreateActivityForm.

Parameters

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

\Drupal\Core\Session\SessionManagerInterface $sessionManager: The session manager.

\Drupal\user\PrivateTempStoreFactory $tempStoreFactory: The temp store factory.

Overrides MultiStepFormBase::__construct

File

src/Form/CreateActivityForm.php, line 27

Class

CreateActivityForm
Create activities form.

Namespace

Drupal\activity\Form

Code

public function __construct(AccountInterface $currentUser, SessionManagerInterface $sessionManager, PrivateTempStoreFactory $tempStoreFactory) {
  parent::__construct($currentUser, $sessionManager, $tempStoreFactory);
}