You are here

function civicrm_entity_actions_activity_action_info in CiviCRM Entity 7.2

Return value

multitype:multitype:string boolean NULL

File

modules/civicrm_entity_actions/civicrm_entity_actions_activity.inc, line 8

Code

function civicrm_entity_actions_activity_action_info() {
  return array(
    'civicrm_entity_actions_activity_assign_action' => array(
      'label' => t('Assign Activity'),
      'type' => 'civicrm_activity',
      'configurable' => TRUE,
    ),
    'civicrm_entity_actions_activity_unassign_action' => array(
      'label' => t('Unassign Activity'),
      'type' => 'civicrm_activity',
      'configurable' => FALSE,
    ),
    //Crud operations
    'civicrm_entity_actions_activity_view_action' => array(
      'type' => 'civicrm_activity',
      'label' => t('View Activity'),
      'configurable' => FALSE,
      'behavior' => array(
        'views_property',
      ),
      'triggers' => array(
        'any',
      ),
    ),
    'civicrm_entity_actions_activity_add_action' => array(
      'type' => 'civicrm_activity',
      'label' => t('Add Activity'),
      'configurable' => FALSE,
      'behavior' => array(
        'creates_property',
      ),
      'triggers' => array(
        'any',
      ),
    ),
    'civicrm_entity_actions_activity_edit_action' => array(
      'type' => 'civicrm_activity',
      'label' => t('Edit Activity'),
      'configurable' => FALSE,
      'behavior' => array(
        'changes_property',
      ),
      'triggers' => array(
        'any',
      ),
    ),
    'civicrm_entity_actions_activity_delete_action' => array(
      'type' => 'civicrm_activity',
      'label' => t('Delete Activity'),
      'configurable' => FALSE,
      'behavior' => array(
        'deletes_property',
      ),
      'triggers' => array(
        'any',
      ),
    ),
  );
}