Philosophy of mind

A theory classifies a state as pain because of how it is caused, how it interacts with other states, and how it tends to guide behavior. Which approach does this illustrate?