I’m struggling to make template suggestions like IMAGE–BLOCK-TYPE or IMAGE–FIELD-TYPE.
I have three different block types(image1, image2, image3) with one image field(field_image_1, field_image_2 and field_image_3).
And I don’t know how to get suggestion like
image–block_image1.html.twig
image–block_image2.html.twig
image–block_image3.html.twig
or
image–field_image_1.html.twig
image–field_image_2.html.twig
image–field_image_3.html.twig
my_theme_suggestions_image_alter(array &$suggestions, array $variables)
{
}
Please help!