You are here

function user_relationships_api_hook_info in User Relationships 6

@file *Incomplete* Actions implementation TODO: check what else this file is for except for hook_hook_info impl

Implementation of hook_hook_info().

File

user_relationships_api/user_relationships_api.actions.inc, line 9
*Incomplete* Actions implementation TODO: check what else this file is for except for hook_hook_info impl

Code

function user_relationships_api_hook_info() {
  return array(
    'user_relationships_api' => array(
      'user_relationships_api' => array(
        'type_presave' => array(
          'runs when' => t('When either saving a new relationship type or updating an existing relationship type'),
        ),
        'type_insert' => array(
          'runs when' => t('After saving a new relationship type'),
        ),
        'type_update' => array(
          'runs when' => t('After saving an existing relationship type'),
        ),
        'type_delete' => array(
          'runs when' => t('After deleting a relationship type'),
        ),
        'type_load' => array(
          'runs when' => t('When a relationship type is loaded'),
        ),
        'presave' => array(
          'runs when' => t('When either saving a new relationship or updating an existing relationship'),
        ),
        'request' => array(
          'runs when' => t('After a new relationship has been requested'),
        ),
        'cancel' => array(
          'runs when' => t('When a relationship has been removed (specifically cancelled)'),
        ),
        'update' => array(
          'runs when' => t('After saving an existing relationship'),
        ),
        'approve' => array(
          'runs when' => t('After approving a relationship'),
        ),
        'disapprove' => array(
          'runs when' => t('When a relationship has been removed (specifically disapproved)'),
        ),
        'remove' => array(
          'runs when' => t('When a relationship has been removed'),
        ),
      ),
    ),
  );
}