You are here

function commerce_option_set_access in Commerce Product Option 7

Same name and namespace in other branches
  1. 7.2 commerce_option.module \commerce_option_set_access()

Check if the given operation is allowed.

1 string reference to 'commerce_option_set_access'
commerce_option_entity_info in ./commerce_option.module
Implements hook_entity_info()

File

./commerce_option.module, line 129

Code

function commerce_option_set_access($op, $type = NULL, $account = NULL) {
  return user_access('administer option sets', $account);
}