class WorkbenchWorkflowsIgnore in Workbench Moderation 7.2
@file A class to mark a node as ignored by State Machine / Workbench Workflows.
Hierarchy
- class \StateMachine
- class \StateFlowEntity
- class \StateFlowNode
- class \WorkbenchWorkflowsIgnore
- class \StateFlowNode
- class \StateFlowEntity
Expanded class hierarchy of WorkbenchWorkflowsIgnore
1 string reference to 'WorkbenchWorkflowsIgnore'
- _workbench_workflows_state_flow_entity_plugins in modules/
workbench_workflows/ workbench_workflows.state_flow_entity.inc - Helper function for hook_state_flow_entity_plugins().
File
- modules/
workbench_workflows/ plugins/ state_flow_entity/ workbench_workflows_ignore.inc, line 8 - A class to mark a node as ignored by State Machine / Workbench Workflows.
View source
class WorkbenchWorkflowsIgnore extends StateFlowNode {
public function init($workflow = array()) {
}
public function ignore() {
return TRUE;
}
}
Members
Name | Modifiers | Type | Description | Overrides |
---|---|---|---|---|
StateFlowEntity:: |
public | property |
Overrides StateMachine:: |
|
StateFlowEntity:: |
public | property | ||
StateFlowEntity:: |
public | property |
Called from StateMachine::__construct to initialize the states and events. Overrides StateMachine:: |
|
StateFlowEntity:: |
public | property |
Overrides StateMachine:: |
|
StateFlowEntity:: |
public | property | ||
StateFlowEntity:: |
public | function | Removes all non Entity API properties from the history_entity. | |
StateFlowEntity:: |
public | function | ||
StateFlowEntity:: |
public | function | Called by hook_entity_presave(). | |
StateFlowEntity:: |
public | function | Called by hook_entity_insert() / hook_entity_update(). | |
StateFlowEntity:: |
public | function |
Extending fire_event() from state_machine's base.inc. Overrides StateMachine:: |
|
StateFlowEntity:: |
protected | function | Forwards the history and states similar what drafty does for entities. | |
StateFlowEntity:: |
public | function | Get the active revision. | |
StateFlowEntity:: |
public | function | Get available events as an array suitable for FAPI. | |
StateFlowEntity:: |
public | function | Get a default event. | |
StateFlowEntity:: |
public | function | Get the revision key for this entity type. | |
StateFlowEntity:: |
public | function | ||
StateFlowEntity:: |
public | function |
Return an event. Overrides StateMachine:: |
|
StateFlowEntity:: |
public | function | Provide entire state_flow history. | |
StateFlowEntity:: |
public | function | Get the state flow history entity. | |
StateFlowEntity:: |
public | function | Get the label for the current state. | |
StateFlowEntity:: |
public | function | Get the latest revision id. | |
StateFlowEntity:: |
public | function | ||
StateFlowEntity:: |
public | function | Get the revision key for this entity type. | |
StateFlowEntity:: |
public | function | ||
StateFlowEntity:: |
public | function | Validate the filed API from values with state_flow_history_entity values. | |
StateFlowEntity:: |
public | function | Build up a full state flow history entity from form values. | |
StateFlowEntity:: |
public | function | Check if the current object is the active published revision. | |
StateFlowEntity:: |
protected | function | Check if the current object is a draft revision. | |
StateFlowEntity:: |
public | function | ||
StateFlowEntity:: |
public | function | ||
StateFlowEntity:: |
public | function | Returns TRUE if the entity is new. | |
StateFlowEntity:: |
public | function | Return the state of the revision | |
StateFlowEntity:: |
public | function | Set the vid from the node table as the "Published" revision. | |
StateFlowEntity:: |
public | function | Provide history with each revision. | |
StateFlowEntity:: |
public | function | Set the state flow history entity. | |
StateFlowEntity:: |
public | function | ||
StateFlowEntity:: |
public | function | Update the current status record for the revision. | |
StateFlowEntity:: |
public | function | Write the transaction to the history table. | |
StateFlowEntity:: |
public | function | Update the current status record for the revision. | |
StateFlowEntity:: |
public | function |
Create instance of StateMachine. Overrides StateMachine:: |
|
StateFlowNode:: |
public | function |
Provide the current state of this revision or entity. Overrides StateFlowEntity:: |
|
StateFlowNode:: |
public | function | Callback for when an entity enters the unpublished state. | |
StateFlowNode:: |
public | function | Callback for when a node enters the unpublished state. | |
StateFlowNode:: |
public | function | ||
StateFlowNode:: |
public | function |
Handle unpublishing / publishing. Overrides StateFlowEntity:: |
|
StateMachine:: |
protected | property | ||
StateMachine:: |
protected | property | ||
StateMachine:: |
protected | function | Create a new event. | |
StateMachine:: |
protected | function | Create a new state. | |
StateMachine:: |
public | function | Get all of the events. | |
StateMachine:: |
public | function | Returns an array of events that are valid for the current state. | |
StateMachine:: |
public | function | Returns the current state. | |
StateMachine:: |
public | function | Return a state instance by key, lazy-loading the instance if necessary. | |
StateMachine:: |
protected | function | Method to be called when firing an event fails for any reason. | |
StateMachine:: |
protected | function | Persist the current state to the object storage. | |
StateMachine:: |
protected | function | Set the current state to the state identified by the specified key. | |
StateMachine:: |
protected | function | Set the initial state for this machine. | |
WorkbenchWorkflowsIgnore:: |
public | function |
Whether State Machine to be ignored. Overrides StateMachine:: |
|
WorkbenchWorkflowsIgnore:: |
public | function |
Called from StateMachine::__construct to initialize the states and events. Overrides StateFlowEntity:: |