public function WatchdogEntity::getMessage in Better Watchdog UI 8
Same name and namespace in other branches
- 7.3 better_watchdog_ui_entity/better_watchdog_ui_entity.module \WatchdogEntity::getMessage()
- 7 better_watchdog_ui_entity/better_watchdog_ui_entity.module \WatchdogEntity::getMessage()
- 7.2 better_watchdog_ui_entity/better_watchdog_ui_entity.module \WatchdogEntity::getMessage()
Get watchdog entry message.
File
- better_watchdog_ui_entity/
better_watchdog_ui_entity.module, line 295 - Provides a basic wrapper to database log entries, so they can be accessed as entities.
Class
- WatchdogEntity
- Watchdog class.
Code
public function getMessage() {
$replacement = unserialize($this->variables);
return html_entity_decode(strip_tags($replacement ? format_string($this->message, $replacement) : $this->message), ENT_QUOTES);
}