Skip to content

Commit 55aa8f8

Browse files
1.0.1
1 parent 8b092f7 commit 55aa8f8

File tree

2 files changed

+8
-1
lines changed

2 files changed

+8
-1
lines changed

composer.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "mage2pro/flag"
3-
,"version": "1.0.0"
3+
,"version": "1.0.1"
44
,"description": "A Magento 2 interface to the lipis/flag-icon-css library."
55
,"type": "magento2-module"
66
,"homepage": "https://mage2.pro"

lib/main.php

+7
Original file line numberDiff line numberDiff line change
@@ -4,3 +4,10 @@
44
* @return string
55
*/
66
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

Comments
 (0)