Some plugin blocks like ReactBlock or Ng2Block require the path to the component to work.
There is code on pdb_ng2 that is taking care of the component path when it is not available. Don't know why but it seems that something changed on recent core versions and this code is not working properly for components other than ng2. Also, taking care of other presentation stuff on pdb_ng2 can be confusing.
This PR is then making the path available at component info array on component discovery for plugin blocks that require it. With that, the code on pdb_ng2.module is deprecated now and thus removed.
Some plugin blocks like
ReactBlock
orNg2Block
require the path to the component to work. There is code onpdb_ng2
that is taking care of the component path when it is not available. Don't know why but it seems that something changed on recent core versions and this code is not working properly for components other than ng2. Also, taking care of other presentation stuff onpdb_ng2
can be confusing. This PR is then making the path available at component info array on component discovery for plugin blocks that require it. With that, the code onpdb_ng2.module
is deprecated now and thus removed.