Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/matomo-org/matomo.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
path: root/core
diff options
context:
space:
mode:
authorThomas Steur <tsteur@users.noreply.github.com>2017-05-16 23:35:23 +0300
committerMatthieu Aubry <mattab@users.noreply.github.com>2017-05-16 23:35:23 +0300
commitb00a98f9bde407eddcc1d084e8bf5f01f64ebd46 (patch)
tree9edab47d514c5043f18dfbb8d58e32a6dc2f505f /core
parent1dcea31230c5b4dcd9200c1fc1c9355095d8a5a0 (diff)
Add support for email and url form fields (#11708)
* add support for email and url form fields * UI test
Diffstat (limited to 'core')
-rw-r--r--core/Settings/FieldConfig.php10
1 files changed, 10 insertions, 0 deletions
diff --git a/core/Settings/FieldConfig.php b/core/Settings/FieldConfig.php
index ef8a6155e2..7b2ce1df03 100644
--- a/core/Settings/FieldConfig.php
+++ b/core/Settings/FieldConfig.php
@@ -27,6 +27,16 @@ class FieldConfig
const UI_CONTROL_TEXT = 'text';
/**
+ * Shows an email text field. To use this field assign it to the `$uiControl` property.
+ */
+ const UI_CONTROL_EMAIL = 'email';
+
+ /**
+ * Shows a URL text field. To use this field assign it to the `$uiControl` property.
+ */
+ const UI_CONTROL_URL = 'url';
+
+ /**
* Shows a text area. To use this field assign it to the `$uiControl` property.
*/
const UI_CONTROL_TEXTAREA = 'textarea';