updated etxlink, ctools, colorbox, computed_field
This commit is contained in:
@@ -61,14 +61,14 @@ function term_depth_term_depth_ctools_access_settings($form, &$form_state, $conf
|
||||
function _term_depth_convert_config_vid_to_vocabulary_name(&$conf) {
|
||||
// Fallback on legacy 'vid', when no vocabularies are available.
|
||||
if (empty($conf['vocabulary']) && !empty($conf['vid'])) {
|
||||
$conf['vocabulary'] = reset(_ctools_term_vocabulary_machine_name_convert(array($conf['vid'])));
|
||||
unset($conf['vid']);
|
||||
$vocabulary = _ctools_term_vocabulary_machine_name_convert(array($conf['vid']));
|
||||
$conf['vocabulary'] = reset($vocabulary);
|
||||
unset($conf['vid'], $vocabulary);
|
||||
}
|
||||
}
|
||||
|
||||
/**
|
||||
* Submit function for the access plugins settings.
|
||||
*
|
||||
*/
|
||||
function term_depth_term_depth_ctools_access_settings_submit($form, $form_state) {
|
||||
$form_state['conf']['depth'] = (integer) $form_state['values']['settings']['depth'];
|
||||
|
@@ -3,11 +3,9 @@ description = Controls access to context based upon term depth
|
||||
core = 7.x
|
||||
dependencies[] = ctools
|
||||
package = Chaos tool suite
|
||||
version = CTOOLS_MODULE_VERSION
|
||||
|
||||
; Information added by Drupal.org packaging script on 2016-11-22
|
||||
version = "7.x-1.12"
|
||||
; Information added by Drupal.org packaging script on 2019-02-08
|
||||
version = "7.x-1.15"
|
||||
core = "7.x"
|
||||
project = "ctools"
|
||||
datestamp = "1479787162"
|
||||
|
||||
datestamp = "1549603691"
|
||||
|
@@ -1,5 +1,9 @@
|
||||
<?php
|
||||
|
||||
/**
|
||||
* @file
|
||||
*/
|
||||
|
||||
function term_depth_ctools_plugin_directory($owner, $plugin) {
|
||||
if ($owner == 'ctools' && $plugin == 'access') {
|
||||
return 'plugins/' . $plugin;
|
||||
|
Reference in New Issue
Block a user