Last active
May 13, 2016 14:06
-
-
Save james-nesbitt/340f8073f4a5a2f90591f78ba32f90ba to your computer and use it in GitHub Desktop.
Candy Data
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
$data['ekk_candidate']['contest_id'] = [ | |
'title' => t('Contest'), | |
'help' => t('Candidate contest nid field.'), | |
'field' => [ | |
'id' => 'numeric', | |
'click sortable' => TRUE, | |
], | |
'filter' => [ | |
'id' => 'numeric', | |
], | |
'argument' => [ | |
'id' => 'numeric', | |
], | |
'sort' => [ | |
'id' => 'standard', | |
], | |
'relationship' => [ | |
'id' => 'standard', | |
'base' => 'node', | |
'base field' => 'nid', | |
'handler' => "standart", | |
'label' => t('Contest for the candidate'), | |
'title' => t('Content for the candidate'), | |
], | |
]; | |
$data['ekk_candidate']['user_id'] = [ | |
'title' => t('User ID thingi'), | |
'help' => t('User id'), | |
'field' => [ | |
'id' => 'numeric', | |
'click sortable' => TRUE, | |
], | |
'filter' => [ | |
'id' => 'numeric', | |
], | |
'argument' => [ | |
'id' => 'numeric', | |
], | |
'sort' => [ | |
'id' => 'standard', | |
], | |
'relationship' => [ | |
'id' => 'standard', | |
'base' => 'user', | |
'base field' => 'uid', | |
'handler' => "standard", | |
'label' => t('User ID thingi'), | |
'title' => t('User ID thingi'), | |
], | |
]; |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment