function NodeRevisionDeleteForm::__construct

Constructs a new NodeRevisionDeleteForm.

File

core/modules/node/src/Form/NodeRevisionDeleteForm.php, line 31

Class

NodeRevisionDeleteForm
Provides a form for deleting a node revision.

Namespace

Drupal\node\Form

Code

public function __construct(protected EntityStorageInterface $nodeStorage, protected EntityStorageInterface $nodeTypeStorage, protected AccessManagerInterface $accessManager, protected DateFormatterInterface $dateFormatter) {
}

Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.