You are here

public function EditableFieldsHelper::__construct in Editable Fields 1.0.x

Same name and namespace in other branches
  1. 8 src/services/EditableFieldsHelper.php \Drupal\editablefields\services\EditableFieldsHelper::__construct()

Constructs a new EditableFieldsHelper object.

File

src/services/EditableFieldsHelper.php, line 57

Class

EditableFieldsHelper
Class EditableFieldsHelper.

Namespace

Drupal\editablefields\services

Code

public function __construct(FieldTypePluginManagerInterface $plugin_manager_field_field_type, FormBuilderInterface $form_builder, ClassResolverInterface $class_resolver, AccountProxyInterface $current_user, EntityDisplayRepositoryInterface $entity_display_repository) {
  $this->pluginManagerFieldFieldType = $plugin_manager_field_field_type;
  $this->formBuilder = $form_builder;
  $this->classResolver = $class_resolver;
  $this->currentUser = $current_user;
  $this->entityDisplayRepository = $entity_display_repository;
}