summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAlex Pott2015-04-14 07:56:20 (GMT)
committerAlex Pott2015-04-14 07:56:20 (GMT)
commit9201dae70f1c5cdf752445ff506d17b5272dc245 (patch)
treeabb2106c8cc7aac928085131ad8c81a69a8141e5
parent68ca85408e3894e13f10f0166e886013a3548514 (diff)
Issue #2469933 by Cauliflower: The view field edit form's remove should be styled as a danger button
-rw-r--r--core/modules/views_ui/src/Form/Ajax/ConfigHandler.php1
1 files changed, 1 insertions, 0 deletions
diff --git a/core/modules/views_ui/src/Form/Ajax/ConfigHandler.php b/core/modules/views_ui/src/Form/Ajax/ConfigHandler.php
index 7113892..e290789 100644
--- a/core/modules/views_ui/src/Form/Ajax/ConfigHandler.php
+++ b/core/modules/views_ui/src/Form/Ajax/ConfigHandler.php
@@ -184,6 +184,7 @@ class ConfigHandler extends ViewsFormBase {
'#ajax' => array(
'url' => Url::fromRoute('<current>'),
),
+ '#button_type' => 'danger',
);
}