function legal_versions_latest_get_data in Legal 7
Same name and namespace in other branches
- 6.8 legal.admin.inc \legal_versions_latest_get_data()
- 7.2 legal.admin.inc \legal_versions_latest_get_data()
1 call to legal_versions_latest_get_data()
- legal_versions_latest_get in ./
legal.admin.inc - Get latest version for each language.
File
- ./
legal.admin.inc, line 553 - Administration UI for the Legal module.
Code
function legal_versions_latest_get_data($data) {
$row['revision'] = isset($data->revision) ? $data->revision : '';
$row['language'] = isset($data->language) ? $data->language : '';
$row['conditions'] = isset($data->conditions) ? $data->conditions : '';
$row['date'] = isset($data->date) ? $data->date : '';
$row['extras'] = isset($data->extras) ? $data->extras : '';
$row['changes'] = isset($data->changes) ? $data->changes : '';
return $row;
}