/** * Get default attributes * * @return array */ protected function getButtonAttributes() { return parent::getButtonAttributes() + array('data-clipboard-text' => $this->getCopyURL()); }