workflow_cleanup.module in Workflow 8
Cleans up Workflow cruft that may build up over time.
File
modules/workflow_cleanup/workflow_cleanup.moduleView source
<?php
use Drupal\Core\Routing\RouteMatchInterface;
/**
* @file
* Cleans up Workflow cruft that may build up over time.
*/
/**
* Implements hook_help().
*/
function workflow_cleanup_help($route_name, RouteMatchInterface $route_match) {
$output = [];
switch ($route_name) {
case 'workflow.cleanup.settings':
$output = t('This page allows you to delete orphaned and inactive states.
States can be deleted freely in a development environment, but be
careful if you have used a State in a production environment. The
transition history of your content will loose the description of a
previously used state. If your Workflow must comply to some auditing
standards, you should NOT use this function.');
break;
}
return $output;
}
Functions
Name | Description |
---|---|
workflow_cleanup_help | Implements hook_help(). |