Gets the top bar items prepared as render array.
\Drupal\navigation\TopBarRegion $region: The region.
array An array of rendered top bar items, keyed by the plugin ID and sorted by weight.
public function getRenderedTopBarItemsByRegion(TopBarRegion $region) : array;