public function BulkEditForm::__construct in Views Bulk Edit 8.2
Same name and namespace in other branches
- 8 src/Form/BulkEditForm.php \Drupal\views_bulk_edit\Form\BulkEditForm::__construct()
BulkEditForm constructor.
Parameters
\Drupal\Core\Entity\EntityTypeManagerInterface $entityTypeManager: Entity type manager.
\Drupal\Core\Entity\EntityRepositoryInterface $entityRepository: The entity repository service.
\Drupal\Core\TempStore\PrivateTempStoreFactory $temp_store_factory: Temp store service.
\Drupal\Component\Datetime\TimeInterface $time: The time service.
\Drupal\Core\Session\AccountInterface $currentUser: The current user.
\Drupal\Core\Entity\EntityTypeBundleInfoInterface $bundleInfo: Bundle info object.
\Drupal\Core\Entity\EntityFieldManagerInterface $entityFieldManager: The entity field manager service.
File
- src/
Form/ BulkEditForm.php, line 63
Class
- BulkEditForm
- The bulk edit form.
Namespace
Drupal\views_bulk_edit\FormCode
public function __construct(EntityTypeManagerInterface $entityTypeManager, EntityRepositoryInterface $entityRepository, PrivateTempStoreFactory $temp_store_factory, TimeInterface $time, AccountInterface $currentUser, EntityTypeBundleInfoInterface $bundleInfo, EntityFieldManagerInterface $entityFieldManager) {
$this->entityTypeManager = $entityTypeManager;
$this->entityRepository = $entityRepository;
$this->tempStore = $temp_store_factory
->get('entity_edit_multiple');
$this->time = $time;
$this->currentUser = $currentUser;
$this->bundleInfo = $bundleInfo;
$this->entityFieldManager = $entityFieldManager;
}