Merge remote-tracking branch 'upstream/4.4' into 4.4-master-2013-11-18-19-02-17
[civicrm-core.git] / api / v3 / Tag.php
index d8129e2703e296a1ed182719afdd686adc871237..daa5f2dd6d4d0de8246fdba42e21961fb9fa3510 100644 (file)
@@ -1,7 +1,7 @@
 <?php
 /*
  +--------------------------------------------------------------------+
- | CiviCRM version 4.3                                                |
+ | CiviCRM version 4.4                                                |
  +--------------------------------------------------------------------+
  | Copyright CiviCRM LLC (c) 2004-2013                                |
  +--------------------------------------------------------------------+
@@ -57,6 +57,7 @@ function civicrm_api3_tag_create($params) {
 function _civicrm_api3_tag_create_spec(&$params) {
   $params['used_for']['api.default'] = 'civicrm_contact';
   $params['name']['api.required'] = 1;
+  $params['id']['api.aliases'] = array('tag');
 }
 
 /**