public QuickEditFieldForm::__construct(PrivateTempStoreFactory $temp_store_factory, ModuleHandlerInterface $module_handler, EntityStorageInterface $node_type_storage, ValidatorInterface $validator)
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 62
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; }
Please login to continue.