New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Document] Extending Document\Tag\* classes #3603

Open
Zamralik opened this Issue Nov 14, 2018 · 0 comments

Comments

Projects
None yet
2 participants
@Zamralik

Zamralik commented Nov 14, 2018

To improve our code quality, we tried to add methods to Pimcore\Model\Document\Tag\* classes.
We added in the bundle Resources/config/pimcore/config.yml file

pimcore:
    models:
        class_overrides:
            'Pimcore\Model\Document\Tag\Link': 'AppBundle\Pimcore\Model\Document\Tag\Link'

With AppBundle\Pimcore\Model\Document\Tag\Link inheriting from Pimcore\Model\Document\Tag\Link.
Unfortunately, it was ignored by Pimcore as the document still uses the standard class.

@brusch brusch changed the title from [5.5.3] Extending Pimcore\Model\Document\Tag\* classes to [Document] Extending Document\Tag\* classes Nov 16, 2018

@brusch brusch added the Proposal label Nov 16, 2018

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment