mirror of
https://github.com/moodle/moodle.git
synced 2025-01-17 13:38:32 +01:00
MDL-74465 block_rss_client: display config when adding
This commit is contained in:
parent
2fdfc9c362
commit
4d768ba508
@ -89,4 +89,13 @@ class block_rss_client_edit_form extends block_edit_form {
|
||||
$mform->addElement('selectyesno', 'config_block_rss_client_show_channel_image', get_string('clientshowimagelabel', 'block_rss_client'));
|
||||
$mform->setDefault('config_block_rss_client_show_channel_image', 0);
|
||||
}
|
||||
|
||||
/**
|
||||
* Display the configuration form when block is being added to the page
|
||||
*
|
||||
* @return bool
|
||||
*/
|
||||
public static function display_form_when_adding(): bool {
|
||||
return true;
|
||||
}
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user