You are here

public function PathDeleteEvent::isRedirect in Hook Event Dispatcher 3.x

Same name and namespace in other branches
  1. 8.2 modules/path_event_dispatcher/src/Event/Path/PathDeleteEvent.php \Drupal\path_event_dispatcher\Event\Path\PathDeleteEvent::isRedirect()

Getter.

Return value

bool If it's a redirect.

File

modules/path_event_dispatcher/src/Event/Path/PathDeleteEvent.php, line 37

Class

PathDeleteEvent
Class PathDeleteEvent.

Namespace

Drupal\path_event_dispatcher\Event\Path

Code

public function isRedirect() : bool {
  return $this->redirect;
}