[ 'name' => ts('Edit'), 'url' => 'civicrm/admin/paymentProcessorType', 'qs' => 'action=update&id=%%id%%&reset=1', 'title' => ts('Edit Payment ProcessorType'), ], CRM_Core_Action::DISABLE => [ 'name' => ts('Disable'), 'ref' => 'crm-enable-disable', 'title' => ts('Disable Payment ProcessorType'), ], CRM_Core_Action::ENABLE => [ 'name' => ts('Enable'), 'ref' => 'crm-enable-disable', 'title' => ts('Enable Payment ProcessorType'), ], CRM_Core_Action::DELETE => [ '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'; } /** * Get any properties that should always be present in each row (null if no value). * * @return array */ protected function getExpectedRowProperties(): array { return ['class', 'description']; } }