public function WorkflowItem::getOptions in Workflow 7
Callback function for the default Options widgets.
File
- includes/
Field/ WorkflowItem.php, line 418 - Contains workflow\includes\Field\WorkflowItem.
Class
- WorkflowItem
- Plugin implementation of the 'workflow' field type.
Code
public function getOptions() {
$state = $this
->getCurrentState();
$options = $state
->getOptions($this->entity_type, $this->entity, $force = FALSE);
return $options;
}