---
title: executionMode()
framework: quartz
role: symbol
role_heading: Type Method
path: quartz/qcplugin/executionmode()
---

# executionMode()

Returns the execution mode of the custom patch.

## Declaration

```swift
class func executionMode() -> QCPlugInExecutionMode
```

## Return Value

Return Value The execution mode of the custom patch. See QCPlugInExecutionMode for the constants you can return.

## Discussion

Discussion You must implement this method to define whether your custom patch is a provider, a processor, or a consumer.

## See Also

### Defining the Characteristics of a Custom Patch

- [timeMode()](quartz/qcplugin/timemode().md)
