You are here

function _quotes_blocks in Quotes 5

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'
quotes_menu in ./quotes.module
Implementation of hook_menu().

File

./quotes.module, line 1831

Code

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