public function AdminSettingsForm::__construct in Exclude Node Title 8
Parameters
\Drupal\Core\Config\ConfigFactoryInterface $config_factory: Defines the interface for a configuration object factory.
\Drupal\exclude_node_title\ExcludeNodeTitleManagerInterface $exclude_node_title_manager: The Exclude Node Title module settings manager.
\Drupal\Core\Entity\EntityTypeBundleInfoInterface $entity_bundle_info: Discovery and retrieval of entity type bundles manager.
\Drupal\Core\Entity\EntityDisplayRepositoryInterface $entity_display_repository: The entity display repository.
Overrides ConfigFormBase::__construct
File
- src/
Form/ AdminSettingsForm.php, line 54
Class
- AdminSettingsForm
- Form object class for Exclude Node Title settings.
Namespace
Drupal\exclude_node_title\FormCode
public function __construct(ConfigFactoryInterface $config_factory, ExcludeNodeTitleManagerInterface $exclude_node_title_manager, EntityTypeBundleInfoInterface $entity_bundle_info, EntityDisplayRepositoryInterface $entity_display_repository) {
parent::__construct($config_factory);
$this->excludeNodeTitleManager = $exclude_node_title_manager;
$this->bundleInfo = $entity_bundle_info;
$this->entityDisplayRepository = $entity_display_repository;
}