You are here

public function EntityConfigSettingsForm::__construct in Acquia Content Hub 8

Constructs an IndexAddFieldsForm object.

Parameters

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

\Drupal\Core\Entity\EntityTypeBundleInfoInterface $entity_type_bundle_info_manager: The entity bundle info interface.

\Drupal\Core\Entity\EntityDisplayRepository $entity_display_repository: The entity display repository.

\Drupal\acquia_contenthub\EntityManager $entity_manager: The entity manager for Content Hub.

\Drupal\user\RoleStorageInterface $role_storage: The role storage.

\Drupal\user\PermissionHandlerInterface $permission_handler: The permission handler.

Overrides ConfigFormBase::__construct

File

src/Form/EntityConfigSettingsForm.php, line 89

Class

EntityConfigSettingsForm
Defines the form to configure the entity types and bundles to be exported.

Namespace

Drupal\acquia_contenthub\Form

Code

public function __construct(EntityTypeManagerInterface $entity_type_manager, EntityTypeBundleInfoInterface $entity_type_bundle_info_manager, EntityDisplayRepository $entity_display_repository, EntityManager $entity_manager, RoleStorageInterface $role_storage, PermissionHandlerInterface $permission_handler) {
  $this->entityTypeManager = $entity_type_manager;
  $this->entityTypeBundleInfoManager = $entity_type_bundle_info_manager;
  $this->entityDisplayRepository = $entity_display_repository;
  $this->entityManager = $entity_manager;
  $this->roleStorage = $role_storage;
  $this->permissionHandler = $permission_handler;
}