<p>Most of the Assets related classes in Craft 2 have been deprecated because they've been completely re-written/refactored/removed for the upcoming Craft 3.</p>

<p>So if you're looking for a Craft 2 replacement, there isn't one... the replacements are in Craft 3.</p>

CC BY-SA 3.0
2017-11-10T12:52:02.047Z
Ah ok thanks. I'll use the deprecated class for now until craft 3 is officially released :)
stojda
CC BY-SA 3.0
2017-11-09T21:14:07.850Z
2017-11-09T21:14:07.850Z
Brad Bell
<p>Im developing my first plugin and was interested in using the <code>findFolder()</code> method from <code>AssetsService</code> but i noticed the class is depreciated. What is the proper way of achieiving the functionality of <code>findFolder()</code> without using the deprecated class? TIA!</p>

<assets>
Replacement for deprecated AssetsService
# Replacement for deprecated AssetsService

(Asked by: username_0 on 2017-11-09)

Im developing my first plugin and was interested in using the `findFolder()` method from `AssetsService` but i noticed the class is depreciated. What is the proper way of achieiving the functionality of `findFolder()` without using the deprecated class? TIA!

**Tags:** assets


---

## 1 answers

### Answer by username_1 on 2017-11-09. Score: 0 | Accepted answer

Most of the Assets related classes in Craft 2 have been deprecated because they've been completely re-written/refactored/removed for the upcoming Craft 3.

So if you're looking for a Craft 2 replacement, there isn't one... the replacements are in Craft 3.

> **Comments:**
> **username_0**: Ah ok thanks. I'll use the deprecated class for now until craft 3 is officially released :)  

---

