Version: current

     1 <?php
     2
     3 /**
     4  * Description of CustomMenuDecorator
     5  *
     6  * @author inxo
     7  */
     8 class CustomMenuDecorator extends DataObjectDecorator {
     9
    10     function extraStatics() {
    11         return array(
    12             'belongs_many_many' => array(
    13                 'CustomMenus' => 'CustomMenu'
    14             )
    15         );
    16     }
    17
    18 }
    19

[Raise a SilverStripe Framework issue/bug](https://github.com/silverstripe/silverstripe-framework/issues/new)
- [Raise a SilverStripe CMS issue/bug](https://github.com/silverstripe/silverstripe-cms/issues/new)
- Please use the Silverstripe Forums to ask development related questions. -