No Default Region for the "Shibboleth Authentication" Block should be provided.
>>> [!note] Migrated issue <!-- Drupal.org comment --> <!-- Migrated from issue #2221633. --> Reported by: [partyka](https://www.drupal.org/user/344048) >>> <h3 id="summary-problem-motivation">Problem/Motivation</h3> <p>A default theme region, "sidebar_first", is suggested in the shib_auth_block_info for the "Shibboleth Authentication" block. This hinders deployment to an existing site with such a named region because, once the module is enabled, it is automatically placed in the region and may appear in undesired places. While this is permitted in the hook's documentation (<a href="https://api.drupal.org/api/drupal/modules%21block%21block.api.php/function/hook_block_info/7">https://api.drupal.org/api/drupal/modules%21block%21block.api.php/function/hook_block_info/7</a>), it is not normally used. </p> <p>This presents a particular issue in websites that use a test/stage/production methodology as then, depending on the deployment workflow, additional work is necessary to remove the block where it is not desired.</p> <h3 id="summary-proposed-resolution">Proposed resolution</h3> <p>Remove the suggested region from shib_auth_block_info. Otherwise a site developer must manually remove the block from the undesired location or create a function utilizing the hook_block_info_alter to make it automatic.</p> <h3 id="summary-remaining-tasks">Remaining tasks</h3> <p>None (Patch needs to be RTBC)</p> <h3 id="summary-ui-changes">User interface changes</h3> <p>None for deployed installations, new installations of shib_auth would require placement of the block.</p> <h3 id="summary-api-changes">API changes</h3> <p>None.</p>
issue