public function KernelEvent::isMasterRequest in Drupal 9
Checks if this is a master request.
Return value
bool True if the request is a master request
File
- core/
lib/ Drupal/ Core/ Http/ KernelEvent.php, line 73
Class
- KernelEvent
- Symfony 6 bridge.
Namespace
Drupal\Core\HttpCode
public function isMasterRequest() {
@trigger_error('Symfony\\Component\\HttpKernel\\Event\\KernelEvent::isMasterRequest() is deprecated, use isMainRequest()', E_USER_DEPRECATED);
return HttpKernelInterface::MASTER_REQUEST === $this->requestType;
}