public function PanelizerEntityParty::entity_allows_revisions in Party 7
Determine if the entity allows revisions.
File
- plugins/
entity/ PanelizerEntityParty.class.php, line 26 - Class for the Panelizer commerce_booking_ticket entity plugin.
Class
- PanelizerEntityParty
- Panelizer Entity commerce_booking_ticket plugin class.
Code
public function entity_allows_revisions($entity) {
$retval[0] = $this->supports_revisions;
$retval[1] = user_access('administer crm settings');
return $retval;
}