You are here

protected function AlphaPaginationCharacter::getOption in Views Alpha Pagination 7.2

Retrieves an option from the view handler.

Parameters

string $name: The option name to retrieve.

mixed $default: The default value to return if not set.

Return value

string The option value or $default if not set.

See also

\AlphaPagination::getOption()

2 calls to AlphaPaginationCharacter::getOption()
AlphaPaginationCharacter::buildLink in src/AlphaPaginationCharacter.php
Builds a link render array based on current text, value and options.
AlphaPaginationCharacter::isAll in src/AlphaPaginationCharacter.php
Determines if character is the "all" type.

File

src/AlphaPaginationCharacter.php, line 160

Class

AlphaPaginationCharacter
Class AlphaPaginationCharacter.

Code

protected function getOption($name, $default = '') {
  return $this->alphaPagination
    ->getOption($name, $default);
}