MDL-79483 qbank_columnsortorder: set pix_icon for each column action.

This commit is contained in:
Paul Holden
2023-09-24 16:54:20 +01:00
parent 83b4c96cad
commit bf6dcc5779
3 changed files with 3 additions and 3 deletions
@@ -41,7 +41,7 @@ class column_action_move extends column_action_base {
public function get_action_menu_link(column_base $column): ?\action_menu_link {
return new \action_menu_link_secondary(
new \moodle_url('/question/edit.php'),
null,
new \pix_icon('i/dragdrop', ''),
$this->move,
[
'title' => get_string('movecolumn', 'qbank_columnsortorder', $column->get_title()),
@@ -65,7 +65,7 @@ class column_action_remove extends column_action_base {
}
return new \action_menu_link_secondary(
$actionurl,
null,
new \pix_icon('t/delete', ''),
$this->remove,
[
'class' => 'action-link',
@@ -41,7 +41,7 @@ class column_action_resize extends column_action_base {
public function get_action_menu_link(column_base $column): ?\action_menu_link {
return new \action_menu_link_secondary(
new \moodle_url('/question/edit.php'),
null,
new \pix_icon('i/twoway', ''),
$this->resize,
[
'title' => get_string('resizecolumn', 'qbank_columnsortorder', $column->get_title()),