Projet

Général

Profil

Révision 7e72b748

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

Weekly update of contrib modules

Voir les différences:

drupal7/sites/all/modules/ctools/ctools_custom_content/ctools_custom_content.module
2 2

  
3 3
/**
4 4
 * @file
5
 * ctools_custom_content module
5
 * The ctools_custom_content module.
6 6
 *
7 7
 * This module allows styles to be created and managed on behalf of modules
8 8
 * that implement styles.
......
30 30
 */
31 31
function ctools_custom_content_ctools_plugin_directory($module, $plugin) {
32 32
  // Most of this module is implemented as an export ui plugin, and the
33
  // rest is in ctools/includes/ctools_custom_content.inc
33
  // rest is in ctools/includes/ctools_custom_content.inc.
34 34
  if ($module == 'ctools' && $plugin == 'export_ui') {
35 35
    return 'plugins/' . $plugin;
36 36
  }
......
41 41
 */
42 42
function ctools_custom_content_get_pane_links_alter(&$links, $pane, $content_type) {
43 43
  if ($pane->type == 'custom') {
44
    if(!isset($pane->configuration['name'])) {
44
    if (!isset($pane->configuration['name'])) {
45 45
      $name_of_pane = $pane->subtype;
46 46
    }
47 47
    else {
......
80 80
    'description' => t('Custom content panes are basic HTML you enter that can be reused in all of your panels.'),
81 81
  );
82 82

  
83
   // Load all mini panels and their displays.
83
  // Load all mini panels and their displays.
84 84
  ctools_include('export');
85 85
  $items = ctools_export_crud_load_all('ctools_custom_content');
86 86
  $count = 0;

Formats disponibles : Unified diff