function uuid_link_entity_info_alter in UUID Link 6
Same name and namespace in other branches
- 7 uuid_link.module \uuid_link_entity_info_alter()
Implements hook_entity_info_alter().
File
- ./
uuid_link.module, line 59 - Provides a filter and UI for adding links to entities that are not affected by changes in URL alias.
Code
function uuid_link_entity_info_alter(&$entity_info) {
// The username should be the label for users.
$entity_info['user']['entity keys']['label'] = 'name';
}