1717/**
1818 * configuration form of hello world block
1919 * @package block
20- * @subpackage hello_world
20+ * @subpackage helloworld
2121 * @copyright 2017 benIT
2222 * @author benIT <benoit.works@gmail.com>
2323 * @license http://www.gnu.org/copyleft/gpl.html GNU GPL v3 or later
2424 */
25- class block_hello_world_edit_form extends block_edit_form
25+ class block_helloworld_edit_form extends block_edit_form
2626{
2727
2828 protected function specific_definition ($ mform )
@@ -32,11 +32,11 @@ protected function specific_definition($mform)
3232 $ mform ->addElement ('header ' , 'configheader ' , get_string ('blocksettings ' , 'block ' ));
3333
3434 // A sample string variable with a default value.
35- $ mform ->addElement ('text ' , 'config_text ' , get_string ('hello_world :contentinputlabel ' , 'block_hello_world ' ));
35+ $ mform ->addElement ('text ' , 'config_text ' , get_string ('helloworld :contentinputlabel ' , 'block_helloworld ' ));
3636 $ mform ->setDefault ('config_text ' , 'default value ' );
3737 $ mform ->setType ('config_text ' , PARAM_RAW );
3838
39- $ mform ->addElement ('text ' , 'config_title ' , get_string ('hello_world :titleinputlabel ' , 'block_hello_world ' ));
39+ $ mform ->addElement ('text ' , 'config_title ' , get_string ('helloworld :titleinputlabel ' , 'block_helloworld ' ));
4040 $ mform ->setDefault ('config_title ' , 'default value ' );
4141 $ mform ->setType ('config_title ' , PARAM_TEXT );
4242
0 commit comments