You are here

public function AliasTypeManager::getVisibleDefinitions in Pathauto 8

Gets the definition of all visible plugins for this type.

Return value

array An array of plugin definitions (empty array if no definitions were found). Keys are plugin IDs.

File

src/AliasTypeManager.php, line 65

Class

AliasTypeManager
Manages pathauto alias type plugins.

Namespace

Drupal\pathauto

Code

public function getVisibleDefinitions() {
  $definitions = $this
    ->getDefinitions();
  unset($definitions['broken']);
  return $definitions;
}