You are here

function _epsacrop_access in EPSA Crop - Image Cropping 7.2

Same name and namespace in other branches
  1. 8.2 epsacrop.module \_epsacrop_access()

Callback for hook_menu.

@access public

Parameters

mixed $access:

Return value

void

3 calls to _epsacrop_access()
epsacrop_element_process in ./epsacrop.module
Helper function that add a link in image widget field to open a dialog for the crops.
epsacrop_form_file_entity_edit_alter in ./epsacrop.module
Implements hook_form_file_entity_edit_alter(). Add epsacrop to file_entity edit form.
_epsacrop_ajax_access in ./epsacrop.module
Callback for Crop Dialog Ajax.
1 string reference to '_epsacrop_access'
epsacrop_menu in ./epsacrop.module
Implements hook_menu.

File

./epsacrop.module, line 1098
The main file of module

Code

function _epsacrop_access() {
  return user_access('epsacrop create crops') || user_access('epsacrop edit all crops');
}