Drupal 9 Comment passer les arguments aux blocs personnalisés
$block_vals = [
'campaign_id' => $camp_id, 'campaign_hash' => $camp_hash
];
// block manager service available in this example at $this->bm
$ra = $this->bm->createInstance('your_block_id', $block_vals)->build();
dwcdev