You are here

public function StateFlowTest::ignore in State Machine 7.2

* Override workflow from working on certain content types * *

Return value

bool

Overrides StateMachine::ignore

File

modules/state_flow/state_flow.api.php, line 157
Define a new StateMachine for the node

Class

StateFlowTest
Define a new workflow for a node type

Code

public function ignore() {
  if ($this->object->type == 'ctype') {
    return TRUE;
  }
  return FALSE;
}