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/modules/comment/views_handler_field_node_comment.inc
11 11
 * @ingroup views_field_handlers
12 12
 */
13 13
class views_handler_field_node_comment extends views_handler_field {
14
  function render($values) {
14

  
15
  /**
16
   * {@inheritdoc}
17
   */
18
  public function render($values) {
15 19
    $value = $this->get_value($values);
16 20
    switch ($value) {
17 21
      case COMMENT_NODE_HIDDEN:
......
23 27
        return t('Open');
24 28
    }
25 29
  }
30

  
26 31
}

Formats disponibles : Unified diff