public function i18n_menu_link::__construct in Internationalization 7
Class constructor
Overrides i18n_object_wrapper::__construct
File
- i18n_menu/
i18n_menu.inc, line 35 - Internationalization (i18n) module - Translation set
Class
- i18n_menu_link
- Menu link object
Code
public function __construct($type, $key, $object) {
// Unserialize options if not done
if (isset($object['options']) && !is_array($object['options'])) {
$object['options'] = unserialize($object['options']);
}
parent::__construct($type, $key, $object);
}