I am developing a module, that when installed, should place an HTML element in a drupal block. That block, will be inside a region. I would like the region to be added to the theme on module installation. Any workarounds?


you cant create custom region in a theme using custom module in a drupal way . however you can fetch available regions

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.