Projet

Général

Profil

Révision 136a805a

Ajouté par Assos Assos il y a plus de 7 ans

Weekly update of contrib modules

Voir les différences:

drupal7/sites/all/modules/panels/includes/plugins.inc
125 125
  /**
126 126
   * When constructed, take a snapshot of our existing out of band data.
127 127
   */
128
  function panels_cache_object() {
128
  function __construct() {
129 129
    $this->head = drupal_add_html_head();
130 130
    $this->css = drupal_add_css();
131 131
    $this->tokens = ctools_set_page_token();
......
478 478
  return $pipelines;
479 479
}
480 480

  
481
/**
482
 * Fetch metadata on a specific panels_storage plugin.
483
 *
484
 * @param $storage
485
 *   Name of a panel_storage plugin.
486
 *
487
 * @return
488
 *   An array with information about the requested panels_storage plugin
489
 */
490
function panels_get_panels_storage_plugin($storage) {
491
  ctools_include('plugins');
492
  return ctools_get_plugins('panels', 'panels_storage', $storage);
493
}
494

  
495
/**
496
 * Fetch metadata for all panels_storage plugins.
497
 *
498
 * @return
499
 *   An array of arrays with information about all available panels_storage plugins.
500
 */
501
function panels_get_panels_storage_plugins() {
502
  ctools_include('plugins');
503
  return ctools_get_plugins('panels', 'panels_storage');
504
}
505

  
481 506
/**
482 507
 * Get a function from a plugin, if it exists.
483 508
 *

Formats disponibles : Unified diff