home | career | drupal | java | mac | mysql | perl | php | scala | 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.

my drupal tutorials and examples  

Copyright 1998-2016 Alvin Alexander, alvinalexander.com
All Rights Reserved.

Beginning in 2016, a portion of the proceeds from pages under the '/drupal-code-examples/' URI will be donated to charity.