public function ConfigEntityUpdater::__construct in Drupal 9
Same name and namespace in other branches
- 8 core/lib/Drupal/Core/Config/Entity/ConfigEntityUpdater.php \Drupal\Core\Config\Entity\ConfigEntityUpdater::__construct()
ConfigEntityUpdater constructor.
Parameters
\Drupal\Core\Entity\EntityTypeManagerInterface $entity_type_manager: The entity type manager.
int $batch_size: The number of entities to process in each batch.
File
- core/
lib/ Drupal/ Core/ Config/ Entity/ ConfigEntityUpdater.php, line 54
Class
- ConfigEntityUpdater
- A utility class to make updating configuration entities simple.
Namespace
Drupal\Core\Config\EntityCode
public function __construct(EntityTypeManagerInterface $entity_type_manager, $batch_size) {
$this->entityTypeManager = $entity_type_manager;
$this->batchSize = $batch_size;
}