Projet

Général

Profil

Révision c304a780

Ajouté par Assos Assos il y a environ 6 ans

Weekly update of contrib modules

Voir les différences:

drupal7/sites/all/modules/ctools/page_manager/plugins/tasks/contact_site.inc
1 1
<?php
2 2

  
3
/**
4
 * @file
5
 */
6

  
3 7
/**
4 8
 * Specialized implementation of hook_page_manager_task_tasks(). See api-task.html for
5 9
 * more information.
......
10 14
  }
11 15

  
12 16
  return array(
13
    // This is a 'page' task and will fall under the page admin UI
17
    // This is a 'page' task and will fall under the page admin UI.
14 18
    'task type' => 'page',
15 19

  
16 20
    'title' => t('Site contact page'),
......
72 76
 * node edit, which is node_page_edit().
73 77
 */
74 78
function page_manager_contact_site() {
75
  // Load my task plugin
79
  // Load my task plugin.
76 80
  $task = page_manager_get_task('contact_site');
77 81

  
78 82
  ctools_include('context');
......
121 125
 *   The subtask id
122 126
 * @param $contexts
123 127
 *   The contexts loaded for the task.
128
 *
124 129
 * @return
125 130
 *   TRUE if the current user can access the page.
126 131
 */

Formats disponibles : Unified diff