We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 8b092f7 commit 55aa8f8Copy full SHA for 55aa8f8
composer.json
@@ -1,6 +1,6 @@
1
{
2
"name": "mage2pro/flag"
3
- ,"version": "1.0.0"
+ ,"version": "1.0.1"
4
,"description": "A Magento 2 interface to the lipis/flag-icon-css library."
5
,"type": "magento2-module"
6
,"homepage": "https://mage2.pro"
lib/main.php
@@ -4,3 +4,10 @@
* @return string
*/
function df_flag_css() {return df_link_inline(df_asset_name('main', 'Df_Flag', 'css'));}
7
+
8
+/**
9
+ * 2017-05-13
10
+ * @param string $country
11
+ * @return string
12
+ */
13
+function df_flag_span($country) {return df_tag('span', 'flag-icon flag-icon-' . strtolower($country));}
0 commit comments