You are here

public function PluginType::getPluginManager in Plugin 8.2

Gets the plugin manager.

Return value

\Drupal\Component\Plugin\PluginManagerInterface

Overrides PluginTypeInterface::getPluginManager

File

src/PluginType/PluginType.php, line 205

Class

PluginType
Provides a plugin type.

Namespace

Drupal\plugin\PluginType

Code

public function getPluginManager() {
  return $this->container
    ->get($this->pluginManagerServiceId);
}