summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAlex Pott2015-04-14 15:58:43 (GMT)
committerAlex Pott2015-04-14 15:58:43 (GMT)
commit454203f85f69406b46f41dc0eef4c9adc016578a (patch)
tree14895f0431e50d258559de54f03be555b21ddaf8
parent8048a38252951610d4477ceaf02d82c04fc44ad4 (diff)
Issue #2469911 by joshi.rohit100: The edit image styles form's cancel link should be styled a a button
-rw-r--r--core/modules/image/src/Form/ImageEffectFormBase.php1
1 files changed, 1 insertions, 0 deletions
diff --git a/core/modules/image/src/Form/ImageEffectFormBase.php b/core/modules/image/src/Form/ImageEffectFormBase.php
index 5aaf1a6..7b7f25b 100644
--- a/core/modules/image/src/Form/ImageEffectFormBase.php
+++ b/core/modules/image/src/Form/ImageEffectFormBase.php
@@ -97,6 +97,7 @@ abstract class ImageEffectFormBase extends FormBase {
'#type' => 'link',
'#title' => $this->t('Cancel'),
'#url' => $this->imageStyle->urlInfo('edit-form'),
+ '#attributes' => ['class' => ['button']],
);
return $form;
}