<div class="content">
<p>In trying to find a way to notify developers of D7 API changes, the best solution we've come up with is to formally publish to the Drupal Development Mailing List. API change notifications will occasionally be posted here with a title starting with "Drupal 7 API Change notification"<br>
</p>
<p>These two API changes were recently committed to Drupal 7:<br></p>
<ol><li><b>hook_block_info_alter() has been renamed to <a href="http://api.drupal.org/api/function/hook_block_list_alter/7" rel="nofollow">hook_block_list_alter()</a></b>. If your D7 module was
using hook_block_info_alter() it will need to be updated. Issue: <span class="project-issue-status-2 project-issue-status-info"><a href="http://drupal.org/node/560746" title="Status: fixed, Assigned to:
chx">#560746: Rename hook_block_info_alter() to hook_block_list_alter()
and add hook_block_info_alter()</a></span>. See <a href="http://api.drupal.org/api/function/block_example_block_list_alter/7" rel="nofollow">block_example.module</a> for sample usage.|<br><br></li><li><b>Content types no longer have a body field unless one is
explicitly added</b>. This means that:
<ul><li>If your content type requires a body field, you must call
node_add_body_field() in hook_install(). Example in <a href="http://api.drupal.org/api/function/node_example_install/7" rel="nofollow">node_example.install</a>.
</li><li>the has_body and has_body_label attributes no longer do
anything
</li><li>In at least <a href="http://drupal.org/node/755640#comment-2937394" rel="nofollow">one
situation</a>, a Drupal core reinstall was required.
</li></ul>
<p>Issue: <span class="project-issue-status-2 project-issue-status-info"><a href="http://drupal.org/node/553306" title="Status: fixed, Assigned to:
bec">#553306: Make nodes have no body field by default. Remove
deprecated APIs for body field</a></span></p></li></ol>Thanks,<br>-Randy<br>
</div><br clear="all"><br>-- <br>Randy Fay<br>Drupal Module and Site Development<br><a href="mailto:randy@randyfay.com">randy@randyfay.com</a><br>+1 970.462.7450<br><br>