Projet

Général

Profil

Révision 5d12d676

Ajouté par Assos Assos il y a environ 6 ans

Weekly update of contrib modules

Voir les différences:

drupal7/sites/all/modules/views/plugins/views_plugin_style_list.inc
2 2

  
3 3
/**
4 4
 * @file
5
 * Contains the list style plugin.
5
 * Definition of views_plugin_style_list.
6 6
 */
7 7

  
8 8
/**
......
11 11
 * @ingroup views_style_plugins
12 12
 */
13 13
class views_plugin_style_list extends views_plugin_style {
14

  
14 15
  /**
15
   * Set default options
16
   * Set default options.
16 17
   */
17
  function option_definition() {
18
  public function option_definition() {
18 19
    $options = parent::option_definition();
19 20

  
20 21
    $options['type'] = array('default' => 'ul');
......
27 28
  /**
28 29
   * Render the given style.
29 30
   */
30
  function options_form(&$form, &$form_state) {
31
  public function options_form(&$form, &$form_state) {
31 32
    parent::options_form($form, $form_state);
32 33
    $form['type'] = array(
33 34
      '#type' => 'radios',
......
50 51
      '#default_value' => $this->options['class'],
51 52
    );
52 53
  }
54

  
53 55
}

Formats disponibles : Unified diff