public function EntityPagerAnalyzeEvent::log in Entity Pager 8
Same name and namespace in other branches
- 2.0.x src/Event/EntityPagerAnalyzeEvent.php \Drupal\entity_pager\Event\EntityPagerAnalyzeEvent::log()
Logs one or more messages.
Parameters
array|string $messages: One or more messages to log.
File
- src/
Event/ EntityPagerAnalyzeEvent.php, line 83
Class
- EntityPagerAnalyzeEvent
- Analyze event object.
Namespace
Drupal\entity_pager\EventCode
public function log($messages) {
foreach ((array) $messages as $message) {
$this->logs[] = $message;
}
}