135 && $this->
getType() === self::class
152 'class' =>
'btn btn-default btn-sm ' . $this->
getClasses(),
158 $attributes[
'disabled'] =
'disabled';
161 if ($this->showLabelText) {
164 foreach ($this->dataAttributes as $attributeName => $attributeValue) {
165 $attributes[
'data-' . $attributeName] = $attributeValue;
167 $attributesString =
'';
168 foreach ($attributes as $key =>
$value) {
170 $attributesString .=
' ' . htmlspecialchars($key) .
'="' . htmlspecialchars(
$value) .
'"';
173 return '<button' . $attributesString .
'>'