public static function Menus::canImport in Hook Update Deploy Tools 8
Same name and namespace in other branches
- 7 src/Menus.php \HookUpdateDeployTools\Menus::canImport()
Checks to see if menu_import in enabled.
Return value
bool TRUE if enabled.
Overrides ImportInterface::canImport
1 call to Menus::canImport()
- Menus::import in src/
Menus.php - Imports menus using the menu_import module & template.
File
- src/
Menus.php, line 112
Class
- Menus
- Public method for importing menus.
Namespace
HookUpdateDeployToolsCode
public static function canImport() {
Check::canUse('menu_import');
Check::canCall('menu_import_file');
return TRUE;
}