You are here

public function AlphaPaginationCharacter::setEnabled in Views Alpha Pagination 8.2

Sets whether character is enabled.

Parameters

mixed $enabled: TRUE or FALSE.

Return value

$this

File

src/AlphaPaginationCharacter.php, line 239

Class

AlphaPaginationCharacter
Class AlphaPaginationCharacter.

Namespace

Drupal\alpha_pagination

Code

public function setEnabled($enabled) {
  $this->enabled = (bool) $enabled;
  return $this;
}