public function gdpr_fields_ui::hook_menu in General Data Protection Regulation 7
hook_menu() entry point.
Child implementations that need to add or modify menu items should probably call parent::hook_menu($items) and then modify as needed.
Overrides ctools_export_ui::hook_menu
File
- modules/
gdpr_fields/ plugins/ export_ui/ gdpr_fields_ui.class.php, line 20 - Contains the CTools Export UI integration code.
Class
- gdpr_fields_ui
- CTools Export UI class handler for GDPR Fields UI.
Code
public function hook_menu(&$items) {
unset($this->plugin['menu']['items']['add']);
// @todo Make sure import always overrides and never adds.
$this->plugin['menu']['items']['import']['title'] = 'Override';
parent::hook_menu($items);
}