You are here

function nopremium_content_extra_fields in Node Option Premium 6

Implementation of hook_content_extra_fields.

File

./nopremium.module, line 208
Written by Henri MEDOT <henri.medot[AT]absyx[DOT]fr> http://www.absyx.fr

Code

function nopremium_content_extra_fields($type_name) {
  $extra = array();
  if (nopremium_check_content_extra_field()) {
    $extra['nopremium_message_field'] = array(
      'label' => t('Premium message'),
      'description' => t('Node Option Premium module message.'),
      'weight' => 1,
    );
  }
  return $extra;
}