You are here

function i18n_boxes_boxes_plugins in Boxes translation 6

Same name and namespace in other branches
  1. 7 i18n_boxes.module \i18n_boxes_boxes_plugins()

Implementation of hook_boxes_plugins().

File

./i18n_boxes.module, line 18

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' => 'simple',
      'class' => 'boxes_i18n',
      'file' => 'boxes_i18n.inc',
      'path' => $path,
    ),
  );
  return $info;
}