public function PanelizerEntityInterface::entity_access in Panelizer 7.2
Same name and namespace in other branches
- 7.3 plugins/entity/PanelizerEntityDefault.class.php \PanelizerEntityInterface::entity_access()
Determine if the current user has $op access on the $entity.
1 call to PanelizerEntityInterface::entity_access()
- PanelizerEntityDefault::access_admin in plugins/
entity/ PanelizerEntityDefault.class.php
3 methods override PanelizerEntityInterface::entity_access()
- 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 107 - 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);