function DevelDumperPluginManager::isPluginSupported

Same name in other branches
  1. 4.x src/DevelDumperPluginManager.php \Drupal\devel\DevelDumperPluginManager::isPluginSupported()

Overrides DevelDumperPluginManagerInterface::isPluginSupported

1 call to DevelDumperPluginManager::isPluginSupported()
DevelDumperPluginManager::createInstance in src/DevelDumperPluginManager.php

File

src/DevelDumperPluginManager.php, line 49

Class

DevelDumperPluginManager
Plugin type manager for Devel Dumper plugins.

Namespace

Drupal\devel

Code

public function isPluginSupported($plugin_id) : bool {
    $definition = $this->getDefinition($plugin_id, FALSE);
    return $definition && $definition['supported'];
}