How to create Block configuration form I am new to drupal. I have created a block from module using hook_block_info() and hook_block_view(). This block will be used as front page image slideshow. So I want to provide text fields in the configuration page of that block where user can add Image files for slideshow. 

What is the process of creating configuration form for the block. I searched online but couldn't understandable solution. Thanks!

I am using Drupal 7
You can create block configuration page using hook_block_configure().
where you can create form with your required field like textfield, file etc.

function demo_block_configure($delta = '') {
    $form = array();
    if ($delta == 'demo') {
        $form['demo_number'] = array(
            '#type' =&gt; 'textfield',
            '#title' =&gt; t('Number of nodes you want the block to show'),
            '#default_value' =&gt; variable_get('demo_number', 10),
            '#size' =&gt; 60,
        );
    }
    return $form;
}

function demo_block_save($delta = '', $edit = array()) {
    if ($delta == 'demo') {
        variable_set('demo_number', $edit['demo_number']);
    }
}


now you can get this variable using variable_get function

$no_of_block = variable_get('demo_number');


you can see this page in configuration of your block