public NodeForm::__construct(EntityManagerInterface $entity_manager, PrivateTempStoreFactory $temp_store_factory)
Constructs a ContentEntityForm object.
Parameters
\Drupal\Core\Entity\EntityManagerInterface $entity_manager: The entity manager.
\Drupal\user\PrivateTempStoreFactory $temp_store_factory: The factory for the temp store object.
Overrides ContentEntityForm::__construct
File
- core/modules/node/src/NodeForm.php, line 36
Class
- NodeForm
- Form handler for the node edit forms.
Namespace
Drupal\node
Code
1 2 3 4 | public function __construct(EntityManagerInterface $entity_manager , PrivateTempStoreFactory $temp_store_factory ) { parent::__construct( $entity_manager ); $this ->tempStoreFactory = $temp_store_factory ; } |
Please login to continue.