You are here

function domain_path_field_extra_fields in Domain Path 7

Implements hook_field_extra_fields().

File

./domain_path.module, line 545
Path alias handling for multiple domains.

Code

function domain_path_field_extra_fields() {
  $extra = array();
  foreach (node_type_get_names() as $name => $value) {
    $extra['node'][$name]['form']['domain_path'] = array(
      'label' => t('Domain paths'),
      'description' => t('Domain-specific path settings.'),
      'weight' => 30,
    );
  }
  return $extra;
}