function boxes_admin_ui_boxes_types in Boxes 7.2
Implements hook_boxes_types().
File
- boxes_admin_ui/
boxes_admin_ui.module, line 80 - Boxes Admin UI
Code
function boxes_admin_ui_boxes_types() {
$plugins = array();
// Add in the types defined in the UI.
$box_types = boxes_admin_ui_get_types();
foreach ($box_types as $box_type) {
$plugins[$box_type->name] = array(
'label' => $box_type->label,
'description' => empty($box_type->description) ? '' : $box_type->description,
'type' => $box_type->name,
'export_status' => $box_type->type,
);
$plugins[$box_type->name] += _boxes_admin_default_plugin();
}
return $plugins;
}