code: public function getButtonName()
      {
          $raw = $this->buttonName ?: $this->getButtonText();
  
          return preg_replace('/[^a-z0-9-_]/', '', strtolower($this->getButtonText()));
      }
docs: Get the name of the button. Arbitrary.
  @return string