You are here

public static function Og::groupTypeManager in Organic groups 8

Returns the group manager instance.

Return value

\Drupal\og\GroupTypeManagerInterface Returns the group manager.

File

src/Og.php, line 310

Class

Og
A static helper class for OG.

Namespace

Drupal\og

Code

public static function groupTypeManager() {

  // @todo store static reference for this?
  return \Drupal::service('og.group_type_manager');
}