You are here

public function PanelsContentForm::__construct in Panels 8.4

Same name and namespace in other branches
  1. 8.3 src/Form/PanelsContentForm.php \Drupal\panels\Form\PanelsContentForm::__construct()

Constructs a new VariantPluginContentForm.

Parameters

\Drupal\Core\TempStore\SharedTempStoreFactory $tempstore: The tempstore factory.

\Drupal\Core\Extension\ModuleHandlerInterface $moduleHandler: The module handler.

File

src/Form/PanelsContentForm.php, line 49

Class

PanelsContentForm
Provides a form for editing a panel variant display's content.

Namespace

Drupal\panels\Form

Code

public function __construct(SharedTempStoreFactory $tempstore, ModuleHandlerInterface $moduleHandler) {
  $this->tempstore = $tempstore;
  $this->moduleHandler = $moduleHandler;
}