I have block plugin that renders lazy builder placeholder. In my lazy builder I need to get to the block's settings so I wanted to set the block id as lazy builder argument but it turned out the block instance info is not available to the block plugin itself.
Is there some proper Drupal way how to get to this information beside serializing the configuration as lazy builder argument or storing the configuration elsewhere?