When developing a module what is the purpose of the tabs() function in the upd.* file?
It’s used when a module requires a publish form Tab for certain settings / fields. The use of the module->tabs() method is just to extract the tab(s) setup for easier reading when using $this->EE->layout->add_layout_tabs() during a module installation. Technically the method is not required as far as I can tell.
Packet Tide owns and develops ExpressionEngine. © Packet Tide, All Rights Reserved.