You are here

function elasticsearch_watchdog_get_type_name_for_view in Elasticsearch Connector 7

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

Return the name of the Elasticsearch type for the view page and facets. This can be different from the current page type if you are building a log warehouse.

Return value

string

6 calls to elasticsearch_watchdog_get_type_name_for_view()
elasticsearch_watchdog_clear_log_submit in modules/elasticsearch_watchdog/elasticsearch_watchdog.admin.inc
Form submission handler for elasticsearch_watchdog_clear_log_form().
elasticsearch_watchdog_event in modules/elasticsearch_watchdog/elasticsearch_watchdog.admin.inc
Page callback: Displays details about a specific log message.
elasticsearch_watchdog_filter_delete_confirm_submit in modules/elasticsearch_watchdog/elasticsearch_watchdog.admin.inc
Form submission handler for confirm_form
elasticsearch_watchdog_overview in modules/elasticsearch_watchdog/elasticsearch_watchdog.admin.inc
Page callback: Displays a listing of log messages.
elasticsearch_watchdog_top in modules/elasticsearch_watchdog/elasticsearch_watchdog.admin.inc
Page callback: Shows the most frequent log messages of a given event type.

... See full list

File

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

Code

function elasticsearch_watchdog_get_type_name_for_view() {
  return variable_get('elasticsearch_watchdog_types_view', ELASTICSEARCH_WATCHDOG_DEFAULT_TYPE);
}