You are here

public function AlphaPagination::__sleep in Views Alpha Pagination 8.2

File

src/AlphaPagination.php, line 127

Class

AlphaPagination
A base views handler for alpha pagination.

Namespace

Drupal\alpha_pagination

Code

public function __sleep() {
  $this->_handler = implode(':', [
    $this->handler->view
      ->id(),
    $this->handler->view->current_display,
    $this->handler->areaType,
    $this->handler->realField ?: $this->handler->field,
    $this->language,
  ]);
  return [
    '_handler',
  ];
}