Revision 2b3c8cc1
Added by Assos Assos about 9 years ago
drupal7/sites/all/modules/file_entity/file_entity.views.inc | ||
---|---|---|
162 | 162 |
), |
163 | 163 |
); |
164 | 164 |
} |
165 |
|
|
166 |
/** |
|
167 |
* Implements hook_views_query_substitutions(). |
|
168 |
*/ |
|
169 |
function file_entity_views_query_substitutions() { |
|
170 |
return array( |
|
171 |
'***ADMINISTER_FILES***' => intval(user_access('administer files')), |
|
172 |
'***BYPASS_FILE_ACCESS***' => intval(user_access('bypass file access')), |
|
173 |
); |
|
174 |
} |
Also available in: Unified diff
Weekly update of contrib modules