You are here

function hosting_platform_field_extra_fields in Hosting 7.4

Same name and namespace in other branches
  1. 7.3 platform/hosting_platform.module \hosting_platform_field_extra_fields()

Implements hook_field_extra_fields()

File

platform/hosting_platform.module, line 931
Platform node type definition.

Code

function hosting_platform_field_extra_fields() {
  $return['node']['platform'] = array(
    'display' => array(
      'info' => array(
        'label' => t('Aegir Platform Information'),
        'description' => t('Detailed information about this platform.'),
        'weight' => 0,
      ),
      'tasks_view' => array(
        'label' => t('Aegir Platform Tasks'),
        'description' => t('List of available tasks.'),
        'weight' => 1,
      ),
    ),
  );
  return $return;
}