Skip to content
Snippets Groups Projects
Commit 6071b5f7 authored by AllenShaw's avatar AllenShaw Committed by GitHub
Browse files

Changed $objectName to $objectType for consistency

Examples and explanations on this page use $objectType, so standardizing on that.
parent 8980c75d
No related branches found
No related tags found
No related merge requests found
......@@ -7,11 +7,11 @@ search, allowing you to inject additional actions or to remove existing actions.
## Definition
hook_civicrm_searchTasks( $objectName, &$tasks )
hook_civicrm_searchTasks( $objectType, &$tasks )
## Parameters
- $objectName - the object for this search - activity, campaign,
- $objectType - the object for this search - activity, campaign,
case, contact, contribution, event, grant, membership, and pledge
are supported.
- $tasks - the current set of tasks for that custom field. You can
......@@ -44,4 +44,4 @@ search, allowing you to inject additional actions or to remove existing actions.
unset($tasks[1]);
}
}
}
\ No newline at end of file
}
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment