You are here

public function PanelizerEntityNode::entity_access in Panelizer 7.3

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

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

Overrides PanelizerEntityInterface::entity_access

File

plugins/entity/PanelizerEntityNode.class.php, line 19
Class for the Panelizer node entity plugin.

Class

PanelizerEntityNode
Panelizer Entity node plugin class.

Code

public function entity_access($op, $entity) {

  // This must be implemented by the extending clas.
  return node_access($op, $entity);
}