code: public function getButtonLink()
      {
          $link = Controller::join_links(
              'customaction',
              $this->actionName
          );
          return $this->gridFieldRequest->Link($link);
      }
docs: Gets the link for the button
  @return string