function cmis_field_field_info in CMIS API 7
Same name and namespace in other branches
- 6.4 cmis_field/cmis_field.module \cmis_field_field_info()
- 6.3 cmis_field/cmis_field.module \cmis_field_field_info()
- 7.2 cmis_field/cmis_field.module \cmis_field_field_info()
Implementation of hook_field_info()
Return value
array - field definition
File
- cmis_field/
cmis_field.module, line 8
Code
function cmis_field_field_info() {
return array(
'cmis_field_path' => array(
'label' => t('CMIS Field'),
'description' => t('Attach a CMIS object to a Drupal entity'),
'default_widget' => 'cmis_field_widget',
'default_formatter' => 'cmis_field_link',
'instance settings' => array(
'cmis_field_rootFolderPath' => '',
),
),
);
}