public function TocManager::__construct in TOC API 8
Constructs a new TocManager.
Parameters
\Drupal\Core\Config\ConfigFactoryInterface $config_factory: The config factory.
File
- src/
TocManager.php, line 34
Class
- TocManager
- Defines a service that creates and manages table of contents instances.
Namespace
Drupal\toc_apiCode
public function __construct(ConfigFactoryInterface $config_factory) {
$this->configFactory = $config_factory;
}