summaryrefslogtreecommitdiffstats
path: root/vendor/ipl/web/src/Widget/ButtonLink.php
diff options
context:
space:
mode:
Diffstat (limited to 'vendor/ipl/web/src/Widget/ButtonLink.php')
-rw-r--r--vendor/ipl/web/src/Widget/ButtonLink.php14
1 files changed, 14 insertions, 0 deletions
diff --git a/vendor/ipl/web/src/Widget/ButtonLink.php b/vendor/ipl/web/src/Widget/ButtonLink.php
new file mode 100644
index 0000000..2da5dfd
--- /dev/null
+++ b/vendor/ipl/web/src/Widget/ButtonLink.php
@@ -0,0 +1,14 @@
+<?php
+
+namespace ipl\Web\Widget;
+
+/**
+ * Button like link generally pointing to CRUD actions
+ */
+class ButtonLink extends ActionLink
+{
+ protected $defaultAttributes = [
+ 'class' => 'button-link',
+ 'data-base-target' => '_main'
+ ];
+}