You are here

public static function ForumTopicHandler::get in Opigno forum 8

Same name and namespace in other branches
  1. 3.x src/ForumTopicHandler.php \Drupal\opigno_forum\ForumTopicHandler::get()

Returns a forum topic handler.

Return value

static An instance of the forum topic handler.

1 call to ForumTopicHandler::get()
opigno_forum_requirements in ./opigno_forum.install
Implements hook_requirements()

File

src/ForumTopicHandler.php, line 61

Class

ForumTopicHandler
Handles the relationship between forum topics and groups.

Namespace

Drupal\opigno_forum

Code

public static function get() {

  /** @var static $handler */
  $handler = \Drupal::classResolver()
    ->getInstanceFromDefinition(static::class);
  return $handler;
}