public function PanelizerEntityNode::entity_access in Panelizer 7.2
Same name and namespace in other branches
- 7.3 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 21 - 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);
}