private function getConfiguration($supports) { $configuration = array('articles' => array('language' => 'com_content', 'modelfile' => 'components/com_content/models/articles.php')); $supportedExtConfigs = JSNPagebuilderHelpersExtensions::getExtConfigurations(str_ireplace(JSN_PAGEBUILDER_3RD_EXTENSION_STRING . '-', '', $supports)); if (count($supportedExtConfigs)) { foreach ($supportedExtConfigs as $key => $config) { $configuration[JSN_PAGEBUILDER_3RD_EXTENSION_STRING . '-' . strtolower($key)] = $config; } } }