updated core to 7.58 (right after the site was hacked)

This commit is contained in:
2018-04-20 23:48:40 +02:00
parent 18f4aba146
commit 9344a61b61
711 changed files with 99690 additions and 480 deletions

View File

@@ -0,0 +1,33 @@
<?php
/**
* @file
* Views access plugin.
*/
/**
* Access plugin that provides role-based access control.
*/
class tmgmt_views_job_access extends views_plugin_access {
/**
* {@inheritdoc}
*/
function summary_title() {
return t('Job view access');
}
/**
* {@inheritdoc}
*/
function access($account) {
return entity_access('view', 'tmgmt_job', NULL, $account);
}
/**
* {@inheritdoc}
*/
function get_access_callback() {
return array('entity_access', array('view', 'tmgmt_job'));
}
}