function i18n_boxes_boxes_plugins in Boxes translation 7
Same name and namespace in other branches
- 6 i18n_boxes.module \i18n_boxes_boxes_plugins()
Implements hook_boxes_plugins().
File
- ./
i18n_boxes.module, line 39 - Provides a new boxes plugin for translatable blocks.
Code
function i18n_boxes_boxes_plugins() {
$info = array();
$path = drupal_get_path('module', 'i18n_boxes') . '/plugins/boxes';
$info['i18n'] = array(
'title' => 'Box (translatable)',
'handler' => array(
'parent' => 'boxes_simple',
'class' => 'boxes_i18n',
'file' => 'boxes_i18n.inc',
'path' => $path,
),
);
return $info;
}