You are here

function civicrm_entity_actions_participant_action_info in CiviCRM Entity 7.2

Return value

multitype:multitype:string boolean NULL

File

modules/civicrm_entity_actions/civicrm_entity_actions_participant.inc, line 8

Code

function civicrm_entity_actions_participant_action_info() {
  return array(
    //Crud operations
    'civicrm_entity_actions_participant_view_action' => array(
      'type' => 'civicrm_participant',
      'label' => t('View Participant'),
      'configurable' => FALSE,
      'behavior' => array(
        'views_property',
      ),
      'triggers' => array(
        'any',
      ),
    ),
    'civicrm_entity_actions_participant_add_action' => array(
      'type' => 'civicrm_participant',
      'label' => t('Add Participant'),
      'configurable' => FALSE,
      'behavior' => array(
        'creates_property',
      ),
      'triggers' => array(
        'any',
      ),
    ),
    'civicrm_entity_actions_participant_edit_action' => array(
      'type' => 'civicrm_participant',
      'label' => t('Edit Participant'),
      'configurable' => FALSE,
      'behavior' => array(
        'changes_property',
      ),
      'triggers' => array(
        'any',
      ),
    ),
    'civicrm_entity_actions_participant_delete_action' => array(
      'type' => 'civicrm_participant',
      'label' => t('Delete Participant'),
      'configurable' => FALSE,
      'behavior' => array(
        'deletes_property',
      ),
      'triggers' => array(
        'any',
      ),
    ),
  );
}