function audit_log_elastic_search_get_type_name in Audit Log 7
Return the name of the Elasticsearch type.
Return value
string
2 calls to audit_log_elastic_search_get_type_name()
- audit_log_elastic_search_audit_log in modules/
audit_log_elastic_search/ audit_log_elastic_search.module - Implements hook_audit_log().
- audit_log_elastic_search_settings_validate in modules/
audit_log_elastic_search/ audit_log_elastic_search.admin.inc - Validate the setting form submission.
File
- modules/
audit_log_elastic_search/ audit_log_elastic_search.module, line 133 - Hook implemenations for the Audit elastic search logging module.
Code
function audit_log_elastic_search_get_type_name($type = NULL) {
if (isset($type)) {
return $type;
}
else {
return variable_get('audit_log_elastic_search_type', AUDIT_LOG_ELASTIC_SEARCH_DEFAULT_INTERVAL);
}
}