How to get a value from block configuration's form control?
What you need is completely covered in example module: block_example.module

Have a look at following hooks:


block_example_block_configure
block_example_block_save
block_example_block_view