You are here

public function EntityExportCsv::__construct in Entity Export CSV 8

Define entity export csv form constructor.

Parameters

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

\Drupal\entity_export_csv\Plugin\FieldTypeExportManagerInterface $field_type_export_manager: The field type export manager.

\Drupal\user\UserDataInterface $user_data: The user data service.

\Drupal\entity_export_csv\EntityExportCsvManagerInterface $entity_export_csv_manager: The entity export csv manager service.

\Drupal\Core\Language\LanguageManagerInterface $language_manager: The language manager.

File

src/Form/EntityExportCsv.php, line 64

Class

EntityExportCsv
Define entity export csv form.

Namespace

Drupal\entity_export_csv\Form

Code

public function __construct(ConfigFactoryInterface $config_factory, FieldTypeExportManagerInterface $field_type_export_manager, UserDataInterface $user_data, EntityExportCsvManagerInterface $entity_export_csv_manager, LanguageManagerInterface $language_manager) {
  $this
    ->setConfigFactory($config_factory);
  $this->fieldTypeExportManager = $field_type_export_manager;
  $this->userData = $user_data;
  $this->manager = $entity_export_csv_manager;
  $this->languageManager = $language_manager;
}