public function SolrVersionRealm::getAvailableVariables in Apache Solr Config Generator 7
Implementation of VariableRealmControllerInterface::getAvailableVariables().
File
- ./
apachesolr_confgen.class.inc, line 15 - Variable Realm controller.
Class
- SolrVersionRealm
- Controller for solr version realms.
Code
public function getAvailableVariables() {
$version_dependent = array();
$conf = variable_get('apachesolr_confgen_solr_version_dependent_variables', array());
foreach (variable_get_info() as $name => $variable) {
if (!empty($variable['solr_version_dependent']) || in_array($name, $conf)) {
$version_dependent[] = $name;
}
}
return $version_dependent;
}