src/Actions/BetterButtonCustomAction.php
public function getButtonLink()
    {
        $link = Controller::join_links(
            'customaction',
            $this->actionName
        );
        return $this->gridFieldRequest->Link($link);
    }
public function getButtonLink()
    {
        $link = Controller::join_links(
            'customaction',
            $this->actionName
        );
        return $this->gridFieldRequest->Link($link);
    }
Gets the link for the button
@return string