ssossossosso

Forums

Covering OroCRM topics, including community updates and company announcements.  Subscribe

Forums OroCRM How to "say" to Oro uses my "Task" class and not the default class in Oro?

This topic contains 1 reply, has 2 voices, and was last updated by Michael Michael 4 months ago.

  • Creator
    Topic
  • #66001

    spyout98
    Participant

    I have a bundle and inside the folder “src/[path-to-my-bundle]/Entity/Task.php” I’ve created a class Task that extends the default Oro Task class and I’ve add some new behavior.

    How do I configure in order to, indepently where OroTask class is used, the “Oro” must to use my “Task” class instead of the default? I think it’s not just edit services.yml and change the directive “oro_task.entity.class” in “https://github.com/oroinc/OroCRMTaskBundle/blob/master/Resources/config/services.yml#L2”. I have to make something related to entity aliases? I really don’t know how to do it.

Viewing 1 replies (of 1 total)
Viewing 1 replies (of 1 total)

You must be logged in to reply to this topic.

You will be redirected to [title]. Would you like to continue?

Yes No
ssossossosso