How do I display a block on an edit form for particular content types? It's fairly simple to display a block on the node add form for a particular content type. Simply restrict visibility to a URL path like node/add/article and you're good to go.

I would like to know how to display a block on the edit form for a particular content type. For instance, when editing an article, the URL path is node/NID/edit.

Is there an easy way to display a block for edits of a given content type?
You need to add php code in the block Visibility settings in admin section of block. You can follow below code.

$node = menu_get_object();

   if (isset($node) &amp;&amp; $node-&gt;type == 'article' &amp;&amp; arg(2) == 'edit') {

     return TRUE;
   }

   return FALSE


Another example:

$nid = arg(1);

   $node = node_load($nid);

   if (isset($node) &amp;&amp; $node-&gt;type == 'article' &amp;&amp; arg(2) == 'edit') {

     return TRUE;
   }

   return FALSE