# Adding a mixin to a class in a plugin?

**URL:** <https://meta.discourse.org/t/adding-a-mixin-to-a-class-in-a-plugin/83905>\
**Category:** Development\
**Created:** [March 26, 2018, 8:30pm UTC](https://meta.discourse.org/t/adding-a-mixin-to-a-class-in-a-plugin/83905 "2018-03-26T20:30:17Z")\
**Posts on this page:** 1\
**Showing post:** 3

<div class="post-metadata">

**Author:** ![shoshber](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/shoshber/32/95393_2.png) [@shoshber](https://meta.discourse.org/u/shoshber)\
**Post date:** [March 27, 2018, 8:11pm UTC](https://meta.discourse.org/t/adding-a-mixin-to-a-class-in-a-plugin/83905/3 "2018-03-27T20:11:45Z")

</div>

Ah you’re right, `modifyClass` calls Ember’s `reopen`, which can take mixins as an argument. I couldn’t get it to work at first but I got it! Thanks!

---

_[View the full topic](https://meta.discourse.org/t/adding-a-mixin-to-a-class-in-a-plugin/83905)._
