$weight += 10;
}
+ $context = array('contact_id' => $this->_contactId);
// see if any other modules want to add any tabs
- CRM_Utils_Hook::tabs($allTabs, $this->_contactId);
+ CRM_Utils_Hook::tabset('civicrm/contact/view', $allTabs, $context);
// now sort the tabs based on weight
usort($allTabs, array('CRM_Utils_Sort', 'cmpFunc'));
);
$contribPageId = $form->getVar('_id');
+ CRM_Utils_Hook::tabset('civicrm/admin/contribute', $tabs, array('contribution_page_id' => $contribPageId));
$fullName = $form->getVar('_name');
$className = CRM_Utils_String::getClassName($fullName);
'uniqueName' => 'pcp',
),
);
+ $context = array(
+ 'urlString' => $urlString,
+ 'urlParams' => $urlParams
+ );
+ CRM_Utils_Hook::tabset('civicrm/admin/contribute', self::$_configureActionLinks, $context);
}
return self::$_configureActionLinks;
* The contactID for whom the dashboard is being rendered.
*
* @return null
+ * @deprecated Use tabset() instead.
*/
public static function tabs(&$tabs, $contactID) {
return self::singleton()->invoke(2, $tabs, $contactID,