You are here

public function ApiTokenManager::processDefinition in API Tokens 8

Same name and namespace in other branches
  1. 8.2 src/ApiTokenManager.php \Drupal\api_tokens\ApiTokenManager::processDefinition()

Performs extra processing on plugin definitions.

By default we add defaults for the type to the definition. If a type has additional processing logic they can do that by replacing or extending the method.

Overrides DefaultPluginManager::processDefinition

File

src/ApiTokenManager.php, line 47

Class

ApiTokenManager
Provides an ApiToken plugin manager.

Namespace

Drupal\api_tokens

Code

public function processDefinition(&$definition, $plugin_id) {
  parent::processDefinition($definition, $plugin_id);
  $this
    ->processDefinitionCategory($definition);
}