Advertising sustains the DA. Ads are hidden for members. Join today

Contributed module documentation

Bundle override

Bundle override is a module that provides you tools to defined php classes related to bundle. For example, if you have a node bundle called article, you can create a bundle_override_node plugin that defines a class that extends \Drupal\node\Entity\Node dedicated to the specific bundle article. Then, when you load a node of article bundle, you get a ArticleNode object.

This can be helpfull to add logical function on specific bundled entities.

Guide maintainers

tsecher's picture