You are here

public function EntityPagerAnalyzer::__construct in Entity Pager 2.0.x

Same name and namespace in other branches
  1. 8 src/EntityPagerAnalyzer.php \Drupal\entity_pager\EntityPagerAnalyzer::__construct()

Constructs a new EntityPagerAnalyzer object.

Parameters

\Symfony\Component\EventDispatcher\EventDispatcherInterface $event_dispatcher: The event dispatcher.

File

src/EntityPagerAnalyzer.php, line 27

Class

EntityPagerAnalyzer
A class for analyzing an entity pager and providing feedback.

Namespace

Drupal\entity_pager

Code

public function __construct(EventDispatcherInterface $event_dispatcher) {
  $this->eventDispatcher = $event_dispatcher;
}