You are here

function fieldable_panels_panes_access in Fieldable Panels Panes (FPP) 7

Determine if a user has access to a fieldable panel pane entity.

13 calls to fieldable_panels_panes_access()
EntityTranslationFieldablePanelsPaneHandler::getAccess in includes/translation.handler.fieldable_panels_pane.inc
Checks if the user can perform the given operation on the wrapped entity.
FieldablePanelsPaneEntity::entity_access in plugins/entity/FieldablePanelsPaneEntity.class.php
fieldable_panels_panes_check_access_update in ./fieldable_panels_panes.module
Check if the user has 'update' access for an FPP object.
fieldable_panels_panes_content_type_create_access in plugins/content_types/fieldable_panels_pane.inc
Access callback for creating a new content type.
fieldable_panels_panes_entity_make_current_access in ./fieldable_panels_panes.module
Access callback to set a revision of a fieldable panel pane as current.

... See full list

2 string references to 'fieldable_panels_panes_access'
fieldable_panels_panes_entity_info in ./fieldable_panels_panes.module
Implements hook_entity_info().
fieldable_panels_panes_menu in ./fieldable_panels_panes.module
Implements hook_menu().

File

./fieldable_panels_panes.module, line 1171
Maintains an entity that appears as panel pane content.

Code

function fieldable_panels_panes_access($op, $entity = NULL, $account = NULL) {
  return entity_get_controller('fieldable_panels_pane')
    ->access($op, $entity, $account);
}