Process definition callback for the ProcessDecorator.
Overrides PluginManagerBase::processDefinition
public function processDefinition(&$definition, $plugin_id) {
// Make sure 'type' is set and either an array or FALSE.
if (!isset($definition['type'])) {
$definition['type'] = array();
}
elseif ($definition['type'] !== FALSE && !is_array($definition['type'])) {
$definition['type'] = array(
$definition['type'],
);
}
}