public static function Views::disable in Hook Update Deploy Tools 8
Same name and namespace in other branches
- 7 src/Views.php \HookUpdateDeployTools\Views::disable()
Disable requested Views.
Parameters
mixed $views_names: string - a single machine name of a View to disable. array - an array of View machine names to disable.
Return value
string Message returned to display.
File
- src/
Views.php, line 36
Class
- Views
- Public methods for working with Views.
Namespace
HookUpdateDeployToolsCode
public static function disable($views_names = array()) {
$message = self::viewSwitch($views_names, 'disable');
return $message;
}