You are here

public function PanelizerEntityPartyActivity::entity_allows_revisions in Party 7

Determine if the entity allows revisions.

File

modules/party_activity/plugins/entity/PanelizerEntityPartyActivity.class.php, line 24
Class for the Panelizer party_activity entity plugin.

Class

PanelizerEntityPartyActivity
Panelizer Entity commerce_booking_ticket plugin class.

Code

public function entity_allows_revisions($entity) {
  $retval[0] = $this->supports_revisions;
  $retval[1] = user_access('administer activity types');
  return $retval;
}