function RevisionDeleteForm::currentUser
Gets the current user.
Return value
\Drupal\Core\Session\AccountInterface The current user.
Overrides FormBase::currentUser
1 call to RevisionDeleteForm::currentUser()
- RevisionDeleteForm::submitForm in core/
lib/ Drupal/ Core/ Entity/ Form/ RevisionDeleteForm.php - Form submission handler.
File
-
core/
lib/ Drupal/ Core/ Entity/ Form/ RevisionDeleteForm.php, line 280
Class
- RevisionDeleteForm
- Provides a form for deleting an entity revision.
Namespace
Drupal\Core\Entity\FormCode
protected function currentUser() {
return $this->currentUser;
}
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.