public function WatchdogEntity::__construct in Better Watchdog UI 7.3
Overrides Entity::__construct
File
- better_watchdog_ui_entity/
better_watchdog_ui_entity.module, line 220 - Provides a basic wrapper to database log entries, so they can be accessed as entities.
Class
- WatchdogEntity
- Watchdog class.
Code
public function __construct(array $values = array(), $entityType = NULL) {
parent::__construct($values, $entityType);
if (isset($values['request_uri'])) {
$this->location = $values['request_uri'];
}
}