You are here

function field_kaltura_field_info in Kaltura 5

Same name and namespace in other branches
  1. 6.2 plugins/field_kaltura/field_kaltura.module \field_kaltura_field_info()
  2. 6 plugins/field_kaltura/field_kaltura.module \field_kaltura_field_info()
  3. 7.3 plugins/field_kaltura/field_kaltura.module \field_kaltura_field_info()
  4. 7.2 plugins/field_kaltura/field_kaltura.module \field_kaltura_field_info()

Implementation of hook_field_info().

1 call to field_kaltura_field_info()
kaltura_is_kaltura_field in plugins/field_kaltura/field_kaltura.module

File

plugins/field_kaltura/field_kaltura.module, line 38
kaltura integration module - functions to provide kaltura as CCK field

Code

function field_kaltura_field_info() {
  $fields = array();
  if (module_exists('node_kaltura_entry')) {
    $fields['Kaltura_Media'] = array(
      'label' => t('Kaltura Media'),
      'description' => t('Store text in the database.'),
    );
  }
  if (module_exists('node_kaltura_mix')) {
    $fields['Kaltura_Media_Remix'] = array(
      'label' => t('Kaltura Media Remix'),
      'description' => t('Store text in the database.'),
    );
  }
  return $fields;
}