You are here

public function boxes_i18n::options_defaults in Boxes translation 7

Same name and namespace in other branches
  1. 6 plugins/boxes/boxes_i18n.inc \boxes_i18n::options_defaults()

Implements boxes_content::options_defaults().

Overrides boxes_simple::options_defaults

File

plugins/boxes/boxes_i18n.inc, line 11

Class

boxes_i18n
Simple translatable custom text box.

Code

public function options_defaults() {
  $defaults = parent::options_defaults();
  return $defaults + array(
    'i18n_boxes' => array(
      'language' => I18N_BOXES_LOCALIZE,
    ),
  );
}