OroCRM Forums

Covering OroCRM topics, including community updates and company announcements.

Forums 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 6 years ago.

Starting from March 1, 2020 the forum has been switched to the read-only mode. Please head to StackOverflow for support.

  • Creator
    Topic
  • #30860

    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)

The forum ‘OroCRM’ is closed to new topics and replies.

Back to top