You are here

constant ApiTokensFilter::PATTERN in API Tokens 8

Same name and namespace in other branches
  1. 8.2 src/Plugin/Filter/ApiTokensFilter.php \Drupal\api_tokens\Plugin\Filter\ApiTokensFilter::PATTERN

The API token pattern.

File

src/Plugin/Filter/ApiTokensFilter.php, line 30

Class

ApiTokensFilter
Provides the API tokens filter.

Namespace

Drupal\api_tokens\Plugin\Filter

Code

const PATTERN = '@\\[api:([0-9a-z_-]+)(\\[.*?\\])?/]@';