From 25a012b799d81efd0cbf81a3b791454e5039c767 Mon Sep 17 00:00:00 2001 From: Awilum Date: Fri, 16 Nov 2018 19:24:15 +0300 Subject: [PATCH] New method getLocales() added --- flextype/Plugins.php | 11 +++++++++++ 1 file changed, 11 insertions(+) diff --git a/flextype/Plugins.php b/flextype/Plugins.php index bddf718c..23bde314 100755 --- a/flextype/Plugins.php +++ b/flextype/Plugins.php @@ -173,6 +173,17 @@ class Plugins } } + /** + * Get locales. + * + * @access public + * @return object + */ + public static function getLocales() + { + return Plugins::$locales; + } + /** * Get the Plugins instance. *