You are here

public function AlphaPagination::getTokens in Views Alpha Pagination 8.2

Provides the token data that is passed when during replacement.

Parameters

string $value: The current character value being processed.

Return value

array Token data.

See also

alpha_pagination_token_info()

alpha_pagination_tokens()

File

src/AlphaPagination.php, line 732

Class

AlphaPagination
A base views handler for alpha pagination.

Namespace

Drupal\alpha_pagination

Code

public function getTokens($value = NULL) {
  return [
    'alpha_pagination' => [
      'path' => $this
        ->getUrl(),
      'value' => $value,
    ],
  ];
}