You are here

function easy_social_field_extra_fields in Easy Social 7

Same name and namespace in other branches
  1. 8.4 easy_social.module \easy_social_field_extra_fields()
  2. 8.3 easy_social.module \easy_social_field_extra_fields()
  3. 7.2 easy_social.module \easy_social_field_extra_fields()

Implements hook_field_extra_fields(). The Easy Social available in Manage display page in the content types

File

./easy_social.module, line 276
This is the file description for Easy Social module.

Code

function easy_social_field_extra_fields() {
  $extra = array();
  $node_types = node_type_get_types();
  foreach ($node_types as $type => $typeobj) {
    $extra['node'][$type] = array(
      'display' => array(
        'easy_social' => array(
          'label' => t('Easy Social'),
          'weight' => 100,
        ),
      ),
    );
  }
  return $extra;
}