devdaily home | career | drupal | java | mac | mysql | perl | php | uml | unix

Drupal example source code file (comment.rules_forms.inc)

This example Drupal source code file (comment.rules_forms.inc) is included in the DevDaily.com "Drupal Source Code Warehouse" project. The intent of this project is to help you "Learn Drupal by Example".

PHP - Drupal tags/keywords

function, id, php, return, rules_action_load_comment_variable_label, settings, with

The comment.rules_forms.inc Drupal example source code

<?php
// $Id: comment.rules_forms.inc,v 1.1.2.3 2009/05/15 13:03:12 fago Exp $


/**
 * @file
 * Rules configuration forms for the comment module.
 *
 * @addtogroup rules
 * @{
 */

/**
 * Action "Load a comment by id" variable label callback.
 */
function rules_action_load_comment_variable_label($settings) {
  return t('Comment with id @id', array('@id' => $settings['cid']));
}

/**
 * @}
 */

Other Drupal examples (source code examples)

Here is a short list of links related to this Drupal comment.rules_forms.inc source code file:

new blog posts


 


"Drupal" is a registered trademark of Dries Buytaert.

our drupal tutorials and examples  
 
Sponsored by:
Mat-Su Valley Programming (Wasilla and Palmer, Alaska)

Copyright 1998-2011 Alvin Alexander, devdaily.com
All Rights Reserved.