You are here

public function NodeHierarchyEventSubscriber::onResponse in Entity Reference Hierarchy 8

Prevents page redirection so that the developer can see the intermediate debug data.

Parameters

FilterResponseEvent $event:

File

src/EventSubscriber/NodeHierarchyEventSubscriber.php, line 58
Contains \Drupal\entity_hierarchy\EventSubscriber\NodeHierarchyEventSubscriber.

Class

NodeHierarchyEventSubscriber

Namespace

Drupal\entity_hierarchy\EventSubscriber

Code

public function onResponse(FilterResponseEvent $event) {
  $response = $event
    ->getResponse();
}