You are here

public function QuickEditFieldForm::__construct in Zircon Profile 8

Same name and namespace in other branches
  1. 8.0 core/modules/quickedit/src/Form/QuickEditFieldForm.php \Drupal\quickedit\Form\QuickEditFieldForm::__construct()

Constructs a new EditFieldForm.

Parameters

\Drupal\user\PrivateTempStoreFactory $temp_store_factory: The tempstore factory.

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

\Drupal\Core\Entity\EntityStorageInterface $node_type_storage: The node type storage.

\Symfony\Component\Validator\Validator\ValidatorInterface $validator: The typed data validator service.

File

core/modules/quickedit/src/Form/QuickEditFieldForm.php, line 67
Contains \Drupal\quickedit\Form\QuickEditFieldForm.

Class

QuickEditFieldForm
Builds and process a form for editing a single entity field.

Namespace

Drupal\quickedit\Form

Code

public function __construct(PrivateTempStoreFactory $temp_store_factory, ModuleHandlerInterface $module_handler, EntityStorageInterface $node_type_storage, ValidatorInterface $validator) {
  $this->moduleHandler = $module_handler;
  $this->nodeTypeStorage = $node_type_storage;
  $this->tempStoreFactory = $temp_store_factory;
  $this->validator = $validator;
}