Problem/Motivation
I installed this module and created a contact form. At first it worked ok, but then I realized the contact form disappear.
The problem was I created a personal contact block instead of the site wide contact block. I was expecting to see the site wide contact block instead of the personal by default.
Searching through the code I found that by default 'personal' is the selected option when creating new Contact Block, I think this default should be instead the 'selected' contact form defined at admin/structure/contact.
Proposed resolution
Change 'personal' in defaultConfiguration to the default contact form defined at admin/structure/contact.
Comments
Comment #2
dagmarHere is the patch.
Comment #3
sutharsan commentedVery good solution, I like it. But I like to see a Dependency Injection for loading the configuration service here.
Comment #4
dagmarSure, nice catch.
Comment #5
dagmarSorry, wrong patch.
Comment #6
sutharsan commented@self: looks good. Need to test.
Comment #8
sutharsan commentedThanks, again.