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