'#description'=>t('<strong>Hierarchy will not be saved!</strong> All child pages will be on the same level with the parent page in relation to the documentation guide.'),
);
if(count($children)>30){
drupal_set_message(t('<strong>Migration cancelled.</strong> You tried to migrate over 30 child nodes. Usually a guide consists of a smaller number of pages. To prevent possible mistakes, please select a smaller sub-set of book pages for migration at a time.'),'error');
$form_state['cancel']=TRUE;
}
else{
$form['children_nodes']=array(
'#type'=>'fieldset',
'#title'=>t('Specific child pages to migrate'),
...
...
@@ -255,7 +250,6 @@ function drupalorg_docs_migrate_form_edit($form, &$form_state) {
'#description'=>t('Checked pages will be migrated. To see the page, click on the link. It will open a new window or tab.'),