function wysiwyg_entity_info in Wysiwyg 7.2
Implements hook_entity_info().
File
- ./
wysiwyg.module, line 12
Code
function wysiwyg_entity_info() {
$types['wysiwyg_profile'] = array(
'label' => t('Wysiwyg profile'),
'base table' => 'wysiwyg',
'controller class' => 'WysiwygProfileController',
'fieldable' => FALSE,
// When loading all entities, DrupalDefaultEntityController::load() ignores
// its static cache. Therefore, wysiwyg_profile_load_all() implements a
// custom static cache.
'static cache' => FALSE,
'entity keys' => array(
'id' => 'format',
),
);
return $types;
}