You are here

function qcollection_action_info in Quiz 6.6

Implementation of hook_action_info()

Return value

array of action info

File

includes/qcollection/qcollection.module, line 264
The main file for qcollection.

Code

function qcollection_action_info() {
  return array(
    'qcollection_add_question_action' => array(
      'type' => 'node',
      // FIXME restrict to quiz question nodes
      'description' => t('Add to an item collection'),
      'configurable' => TRUE,
      'hooks' => array(
        'any' => TRUE,
      ),
    ),
  );
}