public static function ForumTopicHandler::get in Opigno forum 3.x
Same name and namespace in other branches
- 8 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_forumCode
public static function get() {
/** @var static $handler */
$handler = \Drupal::classResolver()
->getInstanceFromDefinition(static::class);
return $handler;
}