Merge pull request #9587 from colemanw/CRM-19802
[civicrm-core.git] / CRM / Admin / Form / ParticipantStatusType.php
index 714f349e08c7f8e8b0ad92f240c97834da11b9c2..e55c748271221ce4f69b9e4137e43538de730dc8 100644 (file)
@@ -1,9 +1,9 @@
 <?php
 /*
  +--------------------------------------------------------------------+
- | CiviCRM version 4.6                                                |
+ | CiviCRM version 4.7                                                |
  +--------------------------------------------------------------------+
- | Copyright CiviCRM LLC (c) 2004-2015                                |
+ | Copyright CiviCRM LLC (c) 2004-2017                                |
  +--------------------------------------------------------------------+
  | This file is a part of CiviCRM.                                    |
  |                                                                    |
 /**
  *
  * @package CRM
- * @copyright CiviCRM LLC (c) 2004-2015
- * $Id$
- *
+ * @copyright CiviCRM LLC (c) 2004-2017
  */
 class CRM_Admin_Form_ParticipantStatusType extends CRM_Admin_Form {
+
+  /**
+   * Explicitly declare the entity api name.
+   */
+  public function getDefaultEntity() {
+    return 'ParticipantStatusType';
+  }
+
+  /**
+   * Build form.
+   */
   public function buildQuickForm() {
     parent::buildQuickForm();
 
@@ -63,6 +72,8 @@ class CRM_Admin_Form_ParticipantStatusType extends CRM_Admin_Form {
   }
 
   /**
+   * Set default values.
+   *
    * @return array
    */
   public function setDefaultValues() {