You are here

public function GroupContentEnablerManagerInterface::getInstalled in Group 8

Returns a plugin collection of all installed content enablers.

Warning: When called without a $group_type argument, this will return a collection of vanilla plugin instances. See ::getAll() for details about vanilla instances.

Parameters

\Drupal\group\Entity\GroupTypeInterface $group_type: (optional) The group type to retrieve installed plugin for.

Return value

\Drupal\group\Plugin\GroupContentEnablerCollection A plugin collection with a vanilla instance of every installed plugin. If $group_type was provided, the collection will contain fully instantiated plugins for the provided group type.

1 method overrides GroupContentEnablerManagerInterface::getInstalled()
GroupContentEnablerManager::getInstalled in src/Plugin/GroupContentEnablerManager.php
Returns a plugin collection of all installed content enablers.

File

src/Plugin/GroupContentEnablerManagerInterface.php, line 135

Class

GroupContentEnablerManagerInterface
Provides a common interface for group content enabler managers.

Namespace

Drupal\group\Plugin

Code

public function getInstalled(GroupTypeInterface $group_type = NULL);