function sarnia_entity_cache_form in Sarnia 7
UI to refresh the list of fields available from the Solr server.
1 string reference to 'sarnia_entity_cache_form'
- sarnia_menu in ./
sarnia.module - Implements hook_menu().
File
- ./
sarnia.entities.inc, line 251
Code
function sarnia_entity_cache_form($form, &$form_state, $server) {
$form['server'] = array(
'#type' => 'value',
'#value' => $server,
);
return confirm_form($form, "Refresh the server field cache?", 'admin/config/search/search_api/server/' . $server->machine_name . '/sarnia/properties', "This will update the list of Solr properties available from this server. These Solr properties will be used to set the entity id field, and as the list of data available to Views handlers.", "Refresh");
}