public function Section::isEventStarted in Devel 8
Same name and namespace in other branches
- 8.3 webprofiler/src/Stopwatch.php \Drupal\webprofiler\Section::isEventStarted()
- 8.2 webprofiler/src/Stopwatch.php \Drupal\webprofiler\Section::isEventStarted()
- 4.x webprofiler/src/Stopwatch.php \Drupal\webprofiler\Section::isEventStarted()
Checks if the event was started
Parameters
string $name The event name:
Return value
bool
File
- webprofiler/
src/ Stopwatch.php, line 246
Class
- Section
- @internal This class is for internal usage only
Namespace
Drupal\webprofilerCode
public function isEventStarted($name) {
return isset($this->events[$name]) && $this->events[$name]
->isStarted();
}