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
File
- src/
AlphaPagination.php, line 732
Class
- AlphaPagination
- A base views handler for alpha pagination.
Namespace
Drupal\alpha_paginationCode
public function getTokens($value = NULL) {
return [
'alpha_pagination' => [
'path' => $this
->getUrl(),
'value' => $value,
],
];
}