array( 'name' => ts('Edit'), 'url' => 'civicrm/admin/paymentProcessorType', 'qs' => 'action=update&id=%%id%%&reset=1', 'title' => ts('Edit Payment ProcessorType'), ), CRM_Core_Action::DISABLE => array( 'name' => ts('Disable'), 'ref' => 'crm-enable-disable', 'title' => ts('Disable Payment ProcessorType'), ), CRM_Core_Action::ENABLE => array( 'name' => ts('Enable'), 'ref' => 'crm-enable-disable', 'title' => ts('Enable Payment ProcessorType'), ), CRM_Core_Action::DELETE => array( 'name' => ts('Delete'), 'url' => 'civicrm/admin/paymentProcessorType', 'qs' => 'action=delete&id=%%id%%', 'title' => ts('Delete Payment ProcessorType'), ), ); } return self::$_links; } /** * Get name of edit form. * * @return string * Classname of edit form. */ public function editForm() { return 'CRM_Admin_Form_PaymentProcessorType'; } /** * Get edit form name. * * @return string * name of this page. */ public function editName() { return 'Payment Processor Type'; } /** * Get user context. * * @param null $mode * * @return string * user context. */ public function userContext($mode = NULL) { return 'civicrm/admin/paymentProcessorType'; } }