You are here

function elasticsearch_watchdog_get_type_name in Elasticsearch Connector 7.5

Same name and namespace in other branches
  1. 7 modules/elasticsearch_watchdog/elasticsearch_watchdog.module \elasticsearch_watchdog_get_type_name()
  2. 7.2 modules/elasticsearch_watchdog/elasticsearch_watchdog.module \elasticsearch_watchdog_get_type_name()

Return the name of the Elasticsearch type.

Return value

string

2 calls to elasticsearch_watchdog_get_type_name()
elasticsearch_watchdog_settings_validate in modules/elasticsearch_watchdog/elasticsearch_watchdog.admin.inc
Validate the setting form submission.
elasticsearch_watchdog_watchdog in modules/elasticsearch_watchdog/elasticsearch_watchdog.module
Implements hook_watchdog().

File

modules/elasticsearch_watchdog/elasticsearch_watchdog.module, line 250
Created on Jan 06, 2014

Code

function elasticsearch_watchdog_get_type_name() {
  return variable_get('elasticsearch_watchdog_type', ELASTICSEARCH_WATCHDOG_DEFAULT_TYPE);
}