Skip to content

Commit

Permalink
MDL-82939 core_sms: Add class to the SMS table
Browse files Browse the repository at this point in the history
This makes it possible to reference in behat table steps.
  • Loading branch information
mickhawkins committed Sep 26, 2024
1 parent 97c2bea commit 1f66c92
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions sms/classes/table/sms_gateway_table.php
Original file line number Diff line number Diff line change
Expand Up @@ -49,6 +49,8 @@ public function __construct() {
$this->setup_column_configuration();
$this->set_filterset(new sms_gateway_table_filterset());
$this->setup();
$tableclasses = $this->attributes['class'] . ' ' . $this->get_table_id();
$this->set_attribute('class', $tableclasses);
}

#[\Override]
Expand Down

0 comments on commit 1f66c92

Please sign in to comment.