You are here

public function PanelizerEntityInterface::entity_access in Panelizer 7.3

Same name and namespace in other branches
  1. 7.2 plugins/entity/PanelizerEntityDefault.class.php \PanelizerEntityInterface::entity_access()

Determine if the current user has $op access on the $entity.

2 calls to PanelizerEntityInterface::entity_access()
PanelizerEntityDefault::access_admin in plugins/entity/PanelizerEntityDefault.class.php
PanelizerEntityDefault::render_entity in plugins/entity/PanelizerEntityDefault.class.php
Render the panels display for a given panelizer entity.
4 methods override PanelizerEntityInterface::entity_access()
PanelizerEntityComment::entity_access in plugins/entity/PanelizerEntityComment.class.php
Determine if the current user has $op access on the $entity.
PanelizerEntityNode::entity_access in plugins/entity/PanelizerEntityNode.class.php
Determine if the current user has $op access on the $entity.
PanelizerEntityTaxonomyTerm::entity_access in plugins/entity/PanelizerEntityTaxonomyTerm.class.php
Determine if the current user has $op access on the $entity.
PanelizerEntityUser::entity_access in plugins/entity/PanelizerEntityUser.class.php
Determine if the current user has $op access on the $entity.

File

plugins/entity/PanelizerEntityDefault.class.php, line 211
Base class for the Panelizer Entity plugin.

Class

PanelizerEntityInterface
Interface to describe how PanelizerEntity plugin objects are implemented.

Code

public function entity_access($op, $entity);