You are here

public function TagPluginManager::getDefinedIds in Extensible BBCode 8.3

Same name and namespace in other branches
  1. 4.0.x src/TagPluginManager.php \Drupal\xbbcode\TagPluginManager::getDefinedIds()

Return an array of all defined plugin IDs.

Return value

string[] The plugin IDs.

1 call to TagPluginManager::getDefinedIds()
TagPluginManager::getDefaultConfiguration in src/TagPluginManager.php
Get a default configuration array based on all available plugins.

File

src/TagPluginManager.php, line 82

Class

TagPluginManager
Manages BBCode tags.

Namespace

Drupal\xbbcode

Code

public function getDefinedIds() : array {
  if (!$this->ids) {
    $ids = array_keys($this
      ->getDefinitions());
    $this->ids = array_combine($ids, $ids);
    unset($this->ids['null']);
  }
  return $this->ids;
}