You are here

public function TagPluginManager::getDefaultNameCollisions in Extensible BBCode 4.0.x

Same name and namespace in other branches
  1. 8.3 src/TagPluginManager.php \Drupal\xbbcode\TagPluginManager::getDefaultNameCollisions()

Check for collisions in the default names of plugins.

Return value

string[][] Associative array of default tag name => array of plugin IDs.

File

src/TagPluginManager.php, line 168

Class

TagPluginManager
Manages BBCode tags.

Namespace

Drupal\xbbcode

Code

public function getDefaultNameCollisions() : array {
  if ($this->defaultNameCollisions === NULL) {
    $this
      ->getDefaultConfiguration();
  }
  return $this->defaultNameCollisions;
}