You are here

function machine_name_apachesolr_field_mappings in Machine name 7.2

Same name and namespace in other branches
  1. 7 machine_name.module \machine_name_apachesolr_field_mappings()

File

./machine_name.module, line 131
Defines a machine name field type, relying on Form API's #type 'machine_name'.

Code

function machine_name_apachesolr_field_mappings() {
  $mappings['machine_name'] = array(
    'indexing_callback' => 'apachesolr_fields_default_indexing_callback',
    'index_type' => 'string',
    'facets' => FALSE,
    'dependency plugins' => array(
      'bundle',
      'role',
    ),
    'multiple' => FALSE,
  );
  return $mappings;
}