You are here

public function FieldSettingsHelper::__construct in AJAX Comments 8

AjaxCommentsFieldSettings constructor.

Parameters

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

\Drupal\Core\Field\FormatterPluginManager $formatter_plugin_manager: The field formatter plugin manager service.

File

src/FieldSettingsHelper.php, line 41

Class

FieldSettingsHelper
Class FieldSettingsHelper.

Namespace

Drupal\ajax_comments

Code

public function __construct(EntityTypeManagerInterface $entity_type_manager, FormatterPluginManager $formatter_plugin_manager) {
  $this->entityTypeManager = $entity_type_manager;
  $this->fieldFormatterManager = $formatter_plugin_manager;
}