groups/modules/commons/commons_like/commons_like.features.field_instance.inc
Marton Kiss 8ac59801be Refactor commons build process
Update commons modules to release 7.12, and move the codebase under
modules/commons instead of constant fetching from remote repository.
The commons.make file removed so it is not required to rebuild
groups distribution.

Change-Id: I3be393ba1af34427e2915b18ab1ad718fd4e54db
2014-05-28 15:58:33 +02:00

64 lines
1.6 KiB
PHP

<?php
/**
* @file
* commons_like.features.field_instance.inc
*/
/**
* Implements hook_field_default_field_instances().
*/
function commons_like_field_default_field_instances() {
$field_instances = array();
// Exported field_instance: 'message-commons_like_user_likes_node-field_target_nodes'
$field_instances['message-commons_like_user_likes_node-field_target_nodes'] = array(
'bundle' => 'commons_like_user_likes_node',
'default_value' => NULL,
'deleted' => 0,
'description' => '',
'display' => array(
'default' => array(
'label' => 'hidden',
'settings' => array(),
'type' => 'hidden',
'weight' => 0,
),
'message_notify_email_body' => array(
'label' => 'above',
'settings' => array(),
'type' => 'hidden',
'weight' => 0,
),
'message_notify_email_subject' => array(
'label' => 'above',
'settings' => array(),
'type' => 'hidden',
'weight' => 0,
),
),
'entity_type' => 'message',
'field_name' => 'field_target_nodes',
'label' => 'Target nodes',
'required' => FALSE,
'settings' => array(
'user_register_form' => FALSE,
),
'widget' => array(
'module' => 'entityreference',
'settings' => array(
'match_operator' => 'CONTAINS',
'path' => '',
'size' => 60,
),
'type' => 'entityreference_autocomplete',
'weight' => 2,
),
);
// Translatables
// Included for use with string extractors like potx.
t('Target nodes');
return $field_instances;
}