You are here

public function EntityAliasTypeBase::getTokenTypes in Pathauto 8

Get the token types.

Return value

string[] The token types.

Overrides AliasTypeInterface::getTokenTypes

File

src/Plugin/pathauto/AliasType/EntityAliasTypeBase.php, line 132

Class

EntityAliasTypeBase
A pathauto alias type plugin for entities with canonical links.

Namespace

Drupal\pathauto\Plugin\pathauto\AliasType

Code

public function getTokenTypes() {
  $definition = $this
    ->getPluginDefinition();
  return $definition['types'];
}