You are here

public function WorkflowItem::insert in Workflow 7

Same name and namespace in other branches
  1. 7.2 includes/Field/WorkflowItem.php \WorkflowItem::insert()

Implements hook_field_insert() -> FieldItemInterface::insert()

File

includes/Field/WorkflowItem.php, line 216
Contains workflow\includes\Field\WorkflowItem.

Class

WorkflowItem
Plugin implementation of the 'workflow' field type.

Code

public function insert() {
  return $this
    ->update();
}