function command_buttons_update_7108 in Command Buttons 7
Create buttons for all node types.
This was originally done in update 7002 but had a typo.
File
- ./
command_buttons.install, line 147
Code
function command_buttons_update_7108() {
$node_info = entity_get_info('node');
foreach ($node_info['bundles'] as $type => $definition) {
command_buttons_create_node_button($type, $definition['label']);
}
}