function formassembly_entity_info in FormAssembly 7
Implements hook_entity_info().
File
- ./
formassembly.module, line 20 - Contains hooks implementations and callbacks to non-admin pages.
Code
function formassembly_entity_info() {
return array(
'fa_form' => array(
'label' => t('FormAssembly Form'),
'plural label' => t('FormAssembly Forms'),
'base table' => 'formassembly',
'entity keys' => array(
'id' => 'eid',
),
'fieldable' => TRUE,
'entity class' => 'FormAssemblyEntity',
'controller class' => 'FormAssemblyEntityController',
'module' => 'formassembly',
'load hook' => 'formassembly_load',
'label callback' => 'entity_class_label',
'uri callback' => 'entity_class_uri',
'access callback' => 'formassembly_access',
'view modes' => array(
'markup' => array(
'label' => t('FormAssembly Markup'),
'custom settings' => FALSE,
),
'full' => array(
'label' => t('Full Page View'),
'custom settings' => FALSE,
),
),
),
);
}