Skip to content

Commit

Permalink
Merge pull request #2501 from oat-sa/feature/AUT-3528/add-x-tao-print…
Browse files Browse the repository at this point in the history
…able-preset

feature: AUT-3528 add preset for x-tao-printable
  • Loading branch information
wazelin authored Sep 27, 2024
2 parents 40c520a + b510933 commit e273b79
Showing 1 changed file with 8 additions and 1 deletion.
9 changes: 8 additions & 1 deletion models/classes/QtiCategoryPresetProvider.php
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@
* along with this program; if not, write to the Free Software
* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
*
* Copyright (c) 2017 (original work) Open Assessment Technologies SA;
* Copyright (c) 2024 (original work) Open Assessment Technologies SA;
*/

namespace oat\taoQtiTest\models;
Expand Down Expand Up @@ -216,6 +216,13 @@ public function registerPresets(TestCategoryPresetProvider $presetService)
'order' => 700,
'pluginId' => 'zoom'
]),
TestCategoryPreset::fromArray([
'id' => 'printable',
'label' => __('Print Out'),
'qtiCategory' => 'x-tao-printable',
'description' => __('Allow a Test Taker to print out the item.'),
'order' => 700,
]),
TestCategoryPreset::fromArray([
'id' => 'apiptts',
'label' => __('APIP Text To Speech'),
Expand Down

0 comments on commit e273b79

Please sign in to comment.