You are here

protected function ViewsBulkOperationsBulkForm::currentUser in Views Bulk Operations (VBO) 8.3

Same name and namespace in other branches
  1. 8.2 src/Plugin/views/field/ViewsBulkOperationsBulkForm.php \Drupal\views_bulk_operations\Plugin\views\field\ViewsBulkOperationsBulkForm::currentUser()
  2. 4.0.x src/Plugin/views/field/ViewsBulkOperationsBulkForm.php \Drupal\views_bulk_operations\Plugin\views\field\ViewsBulkOperationsBulkForm::currentUser()

Gets the current user.

Return value

\Drupal\Core\Session\AccountInterface The current user.

File

src/Plugin/views/field/ViewsBulkOperationsBulkForm.php, line 338

Class

ViewsBulkOperationsBulkForm
Defines the Views Bulk Operations field plugin.

Namespace

Drupal\views_bulk_operations\Plugin\views\field

Code

protected function currentUser() {
  return $this->currentUser;
}