You are here

public function EventSinglePageSiteAlterOutput::__construct in Single Page Site 8

Same name and namespace in other branches
  1. 2.x src/Event/EventSinglePageSiteAlterOutput.php \Drupal\single_page_site\Event\EventSinglePageSiteAlterOutput::__construct()
  2. 2.0.x src/Event/EventSinglePageSiteAlterOutput.php \Drupal\single_page_site\Event\EventSinglePageSiteAlterOutput::__construct()

EventAlterOutput constructor.

Parameters

mixed $output: Output value.

int $current_item_count: Current item count.

File

src/Event/EventSinglePageSiteAlterOutput.php, line 25

Class

EventSinglePageSiteAlterOutput
Class EventSinglePageSiteAlterOutput.

Namespace

Drupal\single_page_site\Event

Code

public function __construct($output, $current_item_count) {
  $this->output = $output;
  $this->currentItemCount = $current_item_count;
}