public function ApiTokenBase::fallback in API Tokens 8
Same name and namespace in other branches
- 8.2 src/ApiTokenBase.php \Drupal\api_tokens\ApiTokenBase::fallback()
Returns a build to replace the API token with in case of validation fail.
Return value
array A renderable array.
Overrides ApiTokenPluginInterface::fallback
File
- src/
ApiTokenBase.php, line 309
Class
- ApiTokenBase
- Provides a base class for the API token plugins.
Namespace
Drupal\api_tokensCode
public function fallback() {
return [];
}