You are here

function cmis_field_widget_info in CMIS API 6.3

Same name and namespace in other branches
  1. 6.4 cmis_field/cmis_field.module \cmis_field_widget_info()

Implementation of hook_widget_info

Return value

array defining the widget

File

cmis_field/cmis_field.module, line 88

Code

function cmis_field_widget_info() {
  return array(
    'cmis_field_widget' => array(
      'label' => t('CMIS link'),
      'field types' => array(
        'cmis_field',
      ),
      'multiple values' => CONTENT_HANDLE_CORE,
      'callbacks' => array(
        'default value' => CONTENT_CALLBACK_CUSTOM,
      ),
    ),
  );
}