class WatchdogEntityController in Better Watchdog UI 8
Same name and namespace in other branches
- 7.3 better_watchdog_ui_entity/better_watchdog_ui_entity.module \WatchdogEntityController
- 7 better_watchdog_ui_entity/better_watchdog_ui_entity.module \WatchdogEntityController
- 7.2 better_watchdog_ui_entity/better_watchdog_ui_entity.module \WatchdogEntityController
Watchdog Controller class.
Hierarchy
- class \WatchdogEntityController extends \EntityAPIController
Expanded class hierarchy of WatchdogEntityController
1 string reference to 'WatchdogEntityController'
- better_watchdog_ui_entity_entity_info in better_watchdog_ui_entity/
better_watchdog_ui_entity.module - Implements hook_entity_info().
File
- better_watchdog_ui_entity/
better_watchdog_ui_entity.module, line 304 - Provides a basic wrapper to database log entries, so they can be accessed as entities.
View source
class WatchdogEntityController extends EntityAPIController {
/**
* Override default delete function to invoke rules.
*/
public function delete($ids, DatabaseTransaction $transaction = NULL) {
if (module_exists('better_watchdog_ui_rules')) {
rules_invoke_event('better_watchdog_ui_watchdog_before_delete', current($this->entityCache));
}
parent::delete($ids, $transaction);
if (module_exists('better_watchdog_ui_rules')) {
rules_invoke_event('better_watchdog_ui_watchdog_after_delete', current($this->entityCache));
}
}
}
Members
Name | Modifiers | Type | Description | Overrides |
---|---|---|---|---|
WatchdogEntityController:: |
public | function | Override default delete function to invoke rules. |