PHP Class Pimcore\WorkflowManagement\Workflow\Config

显示文件 Open project: pimcore/pimcore Class Usage Examples

Public Methods

Method Description
getElementWorkflowConfig ( AbstractElement $element ) : array gets workflow config for element. always returns first valid workflow config
getWorkflowManagementConfig ( boolean $forceReload = false ) : array | null
setWorkflowManagementConfig ( array $config )

Method Details

getElementWorkflowConfig() public static method

gets workflow config for element. always returns first valid workflow config
public static getElementWorkflowConfig ( AbstractElement $element ) : array
$element Pimcore\Model\Element\AbstractElement
return array

getWorkflowManagementConfig() public static method

public static getWorkflowManagementConfig ( boolean $forceReload = false ) : array | null
$forceReload boolean
return array | null

setWorkflowManagementConfig() public static method

public static setWorkflowManagementConfig ( array $config )
$config array