You are here

function quotes_blocks_settings in Quotes 6

Same name and namespace in other branches
  1. 7 quotes.admin.inc \quotes_blocks_settings()

Displays a list of currently-defined quote blocks.

Return value

An array containing the form elements to be displayed.

1 string reference to 'quotes_blocks_settings'
quotes_menu in ./quotes.module
Implementation of hook_menu().

File

./quotes.admin.inc, line 268
The quotes module allows users to maintain a list of quotes that can be displayed in any number of administrator-defined quote blocks.

Code

function quotes_blocks_settings() {
  $form = array();
  $form['name'] = array(
    '#type' => 'textfield',
    '#size' => 32,
    '#maxlength' => 64,
  );
  $form['submit'] = array(
    '#type' => 'submit',
    '#value' => t('Add block'),
  );
  return $form;
}