Merge pull request #18748 from eileenmcnaughton/log
[civicrm-core.git] / CRM / Campaign / Controller / Search.php
index 8089ddd23fc371c3d73d628a30d1e320bea89836..520c3f9442b73eb44f0b79c06136eae532e422fb 100644 (file)
@@ -28,6 +28,8 @@
  */
 class CRM_Campaign_Controller_Search extends CRM_Core_Controller {
 
+  protected $entity = 'Campaign';
+
   /**
    * Class constructor.
    *
@@ -45,8 +47,8 @@ class CRM_Campaign_Controller_Search extends CRM_Core_Controller {
     $this->addPages($this->_stateMachine, $action);
 
     // add all the actions
-    $config = CRM_Core_Config::singleton();
     $this->addActions();
+    $this->set('entity', $this->entity);
   }
 
 }