drupal 9 how to render a view block from render array with arguments

Solutions on MaxInterview for drupal 9 how to render a view block from render array with arguments by the best coders in the world

showing results for - "drupal 9 how to render a view block from render array with arguments"
Tilio
10 Feb 2016
1$ra = [
2	'#type' => 'view',
3	'#name' => 'campaigns',
4	'#display_id' => 'camp_status_block',	// view block machine id
5	'#arguments' => ['campaign_id' => implode(',', $campaign_ids)]
6];
7
similar questions