Fixes #6082
move individual function into data provider instead
Merge branch 'hotfix/#6132-form-element-manager-only-initialize-shared-elements-once'

Close #6132
Merge branch 'db-join-expression' of git://github.com/samsonasik/zf2 into hotfix/6086

* 'db-join-expression' of git://github.com/samsonasik/zf2:
  move individual function into data provider instead
  Fixes #6082
Forward port #6086
Merge branch 'hotfix/6086' into develop

* hotfix/6086:
  move individual function into data provider instead
  Fixes #6082