$this->preProcess();
+ CRM_Utils_Hook::preProcess(get_class($this), $this);
+
$this->assign('translatePermission', CRM_Core_Permission::check('translate CiviCRM'));
if (
return self::singleton()->invoke(6, $op, $objectName, $objectId, $links, $mask, $values, 'civicrm_links');
}
+ /**
+ * This hook is invoked during the CiviCRM form preProcess phase.
+ *
+ * @param string $formName the name of the form
+ * @param object $form reference to the form object
+ *
+ * @return null the return value is ignored
+ */
+ static function preProcess($formName, &$form) {
+ return self::singleton()->invoke(2, $formName, $form, $formName, $formName,
+ }
+
/**
* This hook is invoked when building a CiviCRM form. This hook should also
* be used to set the default values of a form element