Example #1
0
 /**
  * Check the activation link and replace the string "Deactivate" with
  * "Activate" if the module is deactivated.
  *
  * @param  string        $value Link
  * @param  Varien_Object $row   Current row
  * @return string        Cell content
  */
 public function checkActivationLink($value, $row)
 {
     if ($row->getCodePool() == 'core') {
         return '';
     }
     return $value;
 }