*
* @param CRM_Core_Form $form
* Form object.
- * @param string $parentNames
+ * @param array $parentNames
* Parent name ( tag name).
* @param string $entityTable
* Entitytable 'eg: civicrm_contact'.
&$form, $parentNames, $entityTable, $entityId = NULL, $skipTagCreate = FALSE,
$skipEntityAction = FALSE, $tagsetElementName = NULL) {
$tagset = $form->_entityTagValues = [];
- $form->assign("isTagset", FALSE);
+ $form->assign('isTagset', FALSE);
$mode = NULL;
foreach ($parentNames as &$parentNameItem) {
$tagsetInfo[$mode] = [];
}
$tagsetInfo[$mode] = array_merge($tagsetInfo[$mode], $tagset);
- $form->assign("tagsetInfo", $tagsetInfo);
- $form->assign("isTagset", TRUE);
+ $form->assign('tagsetInfo', $tagsetInfo);
+ $form->assign('isTagset', TRUE);
}
}