You are here

protected function WatchdogEntity::defaultLabel in Better Watchdog UI 7.3

Same name and namespace in other branches
  1. 8 better_watchdog_ui_entity/better_watchdog_ui_entity.module \WatchdogEntity::defaultLabel()
  2. 7 better_watchdog_ui_entity/better_watchdog_ui_entity.module \WatchdogEntity::defaultLabel()
  3. 7.2 better_watchdog_ui_entity/better_watchdog_ui_entity.module \WatchdogEntity::defaultLabel()

Deafult label callback.

Overrides Entity::defaultLabel

File

better_watchdog_ui_entity/better_watchdog_ui_entity.module, line 231
Provides a basic wrapper to database log entries, so they can be accessed as entities.

Class

WatchdogEntity
Watchdog class.

Code

protected function defaultLabel() {
  module_load_include('inc', 'better_watchdog_ui_entity', 'better_watchdog_ui_entity.pages');
  return better_watchdog_ui_watchdog_title($this);
}