You are here

public function DocManager::__construct in Forena Reports 8

Initilaize Document Manager

File

src/DocManager.php, line 36

Class

DocManager
Implements \Drupal\forena\DocManager @package Drupal\forena

Namespace

Drupal\forena

Code

public function __construct() {

  // Determine plugins

  /** @var \Drupal\forena\FrxDocumentPluginManager $pm */
  $this->docTypes = AppService::instance()
    ->getDocumentPlugins();
  $this
    ->setDocument('drupal');
}