commons_featured.module in Drupal Commons 7.3
File
modules/commons/commons_featured/commons_featured.moduleView source
<?php
/**
* @file
* Code for the Commons Featured Content feature.
*/
include_once 'commons_featured.features.inc';
/**
* Implements hook_form_BASE_FORM_ID_alter().
*/
function commons_featured_form_node_form_alter(&$form, &$form_state, $form_id) {
// Change "Promoted to front page" to "Featured".
if (isset($form['options']['promote'])) {
$form['options']['promote']['#title'] = t('Featured');
}
}
Functions
Name![]() |
Description |
---|---|
commons_featured_form_node_form_alter | Implements hook_form_BASE_FORM_ID_alter(). |