You are here

public function ExcludeNodeTitleManager::__construct in Exclude Node Title 8

Constructs a ExcludeNodeTitleManager object.

Parameters

\Drupal\Core\Config\ConfigFactoryInterface $config_factory: The config factory.

\Drupal\Core\Entity\EntityTypeManagerInterface $entity_type_manager: The entity type manager.

\Drupal\Core\Entity\EntityTypeBundleInfoInterface $bundle_info: The bundle info manager.

File

src/ExcludeNodeTitleManager.php, line 56

Class

ExcludeNodeTitleManager
Service class for Exclude Node Title module settings management.

Namespace

Drupal\exclude_node_title

Code

public function __construct(ConfigFactoryInterface $config_factory, EntityTypeManagerInterface $entity_type_manager, EntityTypeBundleInfoInterface $bundle_info) {
  $this->settingsConfig = $config_factory
    ->getEditable('exclude_node_title.settings');
  $this->entityTypeManager = $entity_type_manager;
  $this->bundleInfo = $bundle_info;
}