In a Matrix block field of a "page" entry, I'm using an
Entries field to manually select a list of "article" entries to the "page" entry.
When I query an "article" entry, is it possible to query its "parent" page entry that's connected using the above method or do I have to use categories?
BTW it'd be appreciated if the solution is written for the Element API plugin or PHP code if possible.
EDIT: edited question to be more accurate by adding the Matrix details. Also, the correct query would be:
Entry::find()->section('page')->relatedTo([ 'targetElement' => $article, 'field' => 'articleSections.articles' ])->all();