You are here

public static function ViewsBulkOperationsActionBase::customAccess in Views Bulk Operations (VBO) 8.3

Same name and namespace in other branches
  1. 4.0.x src/Action/ViewsBulkOperationsActionBase.php \Drupal\views_bulk_operations\Action\ViewsBulkOperationsActionBase::customAccess()

Default custom access callback.

Parameters

\Drupal\Core\Session\AccountInterface $account: The user the access check needs to be preformed against.

\Drupal\views\ViewExecutable $view: The View Bulk Operations view data.

Return value

bool Has access.

File

src/Action/ViewsBulkOperationsActionBase.php, line 140

Class

ViewsBulkOperationsActionBase
Views Bulk Operations action plugin base.

Namespace

Drupal\views_bulk_operations\Action

Code

public static function customAccess(AccountInterface $account, ViewExecutable $view) {
  return TRUE;
}