You are here

function elasticsearch_watchdog_get_type_name_for_view 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_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

4 calls to elasticsearch_watchdog_get_type_name_for_view()
elasticsearch_watchdog_event in modules/elasticsearch_watchdog/elasticsearch_watchdog.admin.inc
Page callback: Displays details about a specific log message.
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.
_elasticsearch_watchdog_get_facets in modules/elasticsearch_watchdog/elasticsearch_watchdog.module
Return message types FACET.

File

modules/elasticsearch_watchdog/elasticsearch_watchdog.module, line 223
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);
}