public function ModifyEntityValues::access in Views Bulk Edit 8.2
File
- src/
Plugin/ Action/ ModifyEntityValues.php, line 282
Class
- ModifyEntityValues
- Modify entity field values.
Namespace
Drupal\views_bulk_edit\Plugin\ActionCode
public function access($object, AccountInterface $account = NULL, $return_as_object = FALSE) {
$access = $object
->access('update', $account, TRUE);
return $return_as_object ? $access : $access
->isAllowed();
}