function scald_i18n_object_info in Scald: Media Management made easy 7
Implements hook_i18n_object_info().
File
- ./
scald.module, line 2269 - The Scald Core, which handles all Scald Registries and dispatch.
Code
function scald_i18n_object_info() {
$info['scald_type'] = array(
'title' => t('Scald atom type'),
'key' => 'type',
'placeholders' => array(
'%scald_type' => 'type',
),
'edit path' => 'admin/structure/scald/%scald_type',
'translate tab' => 'admin/structure/scald/%scald_type/translate',
'list callback' => 'scald_types',
'string translation' => array(
'textgroup' => 'scald',
'type' => 'type',
'properties' => array(
'title' => t('Title'),
'description' => t('Description'),
),
),
);
return $info;
}