You are here

public function AlphaPaginationCharacter::setActive in Views Alpha Pagination 8.2

Sets whether character is active.

Parameters

mixed $active: TRUE or FALSE.

Return value

$this

File

src/AlphaPaginationCharacter.php, line 252

Class

AlphaPaginationCharacter
Class AlphaPaginationCharacter.

Namespace

Drupal\alpha_pagination

Code

public function setActive($active) {
  $this->active = (bool) $active;
  return $this;
}