Undefined function getAttributeStore in backend Extjs

Guys,

I have a doubt.

In one of our old plugin, I could find a backend EXtjs function “getAttributeStore” calling as follows,

a.getAttributeStore.getAt(0).data.functionName

Somehow it gives an error.

But I couldn’t find this function defined in latest shopware versions. Is this function still available in shopware version or does it deprecated? What should I use instead of this function if I need to use this.

If this is still there, can you please explain what is the real purpose of the function.

Thank you