Project

General

Profile

Revision 560c3060

Added by Julien Enselme about 9 years ago

Update ctools 1.7 -> 1.9

View differences:

drupal7/sites/all/modules/ctools/includes/content.inc
341 341
    return FALSE;
342 342
  }
343 343

  
344
  if ($function = ctools_plugin_get_function($subtype, 'check editable')) {
344
  $function = FALSE;
345
  
346
  if (!empty($subtype['check editable'])) {
347
    $function = ctools_plugin_get_function($subtype, 'check editable');
348
  }
349
  elseif (!empty($type['check editable'])) {
350
    $function = ctools_plugin_get_function($type, 'check editable');
351
  }
352

  
353
  if ($function) {
345 354
    return $function($type, $subtype, $conf);
346 355
  }
347 356

  

Also available in: Unified diff