function apachesolr_confgen_get_required_version_string in Apache Solr Config Generator 6
Same name and namespace in other branches
- 7 apachesolr_confgen.module \apachesolr_confgen_get_required_version_string()
1 call to apachesolr_confgen_get_required_version_string()
- apachesolr_confgen_advanced_settings_variable_info in apachesolr_confgen_advanced_settings/
apachesolr_confgen_advanced_settings.variable.inc - Implements hook_variable_info().
File
- ./
apachesolr_confgen.module, line 183 - Generator for Apache Solr Configuration Files.
Code
function apachesolr_confgen_get_required_version_string($version, $language_id, $format = 'html') {
// TODO replace by theme function
return $format == 'html' ? ' <strong>' . t('Solr %version and newer.', array(
'%version' => $version,
), $language_id) . '</strong>' : ' (' . t('Solr @version and newer', array(
'@version' => $version,
), $language_id) . ')';
}