Drupal 8/9 get image from the custom block programatically in twig
In Drupal, getting an image from a custom block type along with its image style config is pretty simple and can be achieved with the following piece of code.
Share
share your add link
https%3A%2F%2Fmycode.blog%2Fnavya%2Fdrupal-89-programmatically-render-image-custom-block-twig%0A
Share in social
Comments